Skip to main content

Dismissible

Dismissible is a wrapper that adds a close button to content, such as a notice or an attachment.

Import

import { Dismissible } from '@vortexlabs/vortex';
import type { DismissibleProps } from '@vortexlabs/vortex';

Other links

Dismissible props
PropTypeDefaultAttributes
closable
boolean
No default value
closeAriaLabel
string
No default value
variant
union
plain
size
union
xs
hoverable
boolean
No default value
rounded
boolean
false
align
union
top
children
React.ReactNode
No default value
onClose
callback
No default value
closeButtonRef
ref
No default value
className
union
No default value
attributes
object
No default value