theVAULT01Explore complete sections
← All components

Accordion

Native disclosure elements provide independent expansion and keyboard support without a JavaScript dependency for toggling.

Can I change the colors?
Yes. Open Appearance to change the colors and corner radius across this library.
Where is the source?
Open a component and choose Code. The component file and styles are the same ones used in these previews.
Does this live inside Plaibook?
Yes. The components, examples, and theme editor are all part of Plaibook.

Use the real component.

The preview uses the same React components and CSS available in the Code view.

  1. Copy Components into src/components/vault/kit.tsx.
  2. Copy Styles into src/styles/vault-kit.module.css.
  3. Import the component using the Usage example. Add Your theme to a parent to carry your colors across.

React + TypeScript + CSS Modules. The import alias @/ points to src/; adjust it for your project.

theVAULT / A Plaibook collection