- Docs
- components
- Collapsible
Collapsible
An interactive component which expands/collapses a panel.
Preview
Code
@peduarte starred 3 repositories
@radix-ui/primitives
Installation
CLI
Manual
Copy and paste the following code into your project.
Update the import paths to match your project setup.
Usage
Single import
Multiple imports
Animation
The collapsible component uses the interpolate-size: allow-keywords
CSS
property to animate the height of the content. This property is not
supported in all browsers. See the browser
compatibility
table for more information.