Collapse Component
Description
The Collapse
component allows content to expand and collapse smoothly with an animation.
Props
Prop | Type | Default | Description |
---|---|---|---|
in |
boolean |
false |
Controls whether the content is expanded or collapsed. |
timeout |
number |
0 |
Duration of the expand/collapse transition (in milliseconds). |
collapsedHeight |
string |
"0px" |
The height of the content when collapsed. |
Example Usage
Useful Links
🔗 GitHub Repository (Core): Liberty Core
🔗 GitHub Repository (Test Project): Liberty Test
📖 Live Documentation: Liberty Core Docs
💖 Sponsor & Support: Sponsor Liberty Core