Animated Collapsible
Preview
Install
Add it with your package manager, or copy the source manually.
Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide
Download the release archive to your project root, then install the local file.
Import the shared styles once in your application.
TSUsage
API Reference
Collapsible
v-model:open?booleanDefault
undefineddefaultOpen?booleanDefault
falsedisabled?booleanDefault
—contentClassName?stringLayout classes for the inner wrapper, separate from the animated surface.
Default
—class?stringDefault
—@open-change?(value: boolean) => voidDefault
—CollapsibleTrigger
render?Component | "button"Reuse a button element or a component that forwards its props and ref to a button.
Default
—class?stringDefault
—disabled?booleanDefault
—@click?(event: MouseEvent) => voidDefault
—CollapsibleContent
contentClassName?stringPadding and layout classes for the measured content, inside the clipping wrapper.
Default
—class?stringDefault
—CollapsibleIndicator
class?stringDefault
—Used in these Pro blocks
Updated