Docs
Collapsible

Collapsible

An interactive component which expands/collapses a panel.

@axltd_ch starred 3 repositories

@brudi/react-collapsible

Installation

npm install @brudi/react-collapsible

Usage

import {
  Collapsible,
  CollapsibleContent,
  CollapsibleTrigger,
} from "@brudi/react-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>

Customization

npx @brudi/ui extend collapsible