Docs
Collapsible

Collapsible

An interactive component which expands/collapses a panel.

Installation

	npx shadcn-svelte@next add collapsible

Usage

	<script lang="ts">
  import * as Collapsible from "$lib/components/ui/collapsible/index.js";
</script>
 
<Collapsible.Root>
  <Collapsible.Trigger>Can I use this in my project?</Collapsible.Trigger>
  <Collapsible.Content>
    Yes. Free to use for personal and commercial projects. No attribution
    required.
  </Collapsible.Content>
</Collapsible.Root>