Docs
Collapsible
Collapsible
An interactive component which expands/collapses a panel.
@RyanCarniato starred 2 repositories
solid-js
Installation
npx shadcn-solid@latest add collapsible
Usage
import {
Collapsible,
CollapsibleContent,
CollapsibleTrigger
} from "@/components/ui/collapsible";
<Collapsible>
<CollapsibleTrigger>Can I use this in my project?</CollapsibleTrigger>
<CollapsibleContent>
Yes. Free to use for personal and commercial projects. No attribution required.
</CollapsibleContent>
</Collapsible>