Collapsible
An interactive component which expands/collapses a panel.
Made by imskyleen
@peduarte starred 3 repositories
@radix-ui/primitives
Installation
Usage
Props
Animate UI Props
CollapsibleContent
Prop | Type | Default |
---|---|---|
transition? | Transition | { type: 'spring', stiffness: 150, damping: 22 } |
Don't delete from the DOM
The choice made is the same as Radix UI, i.e. to remove the element from the DOM for accessibility and performance reasons. However, this may pose a problem for SEO. If you want your Collapsible content to be taken into account by Google, please replace the CollapsibleContent component with: