useExpandable

A custom React hook for creating smooth expandable/collapsible elements with spring animations using Framer Motion. Parameters - `initialState` (boolean, optional): Initial expansion state. Defaults to `false`. Return…

Pattern
pattern-1109
Interface family
disclosure
Component kind
accordion

Open this Pattern in the Solice UI workspace

Find a related component