Skip to content
Design System
GitHub

Accordion

v0.10.0

Collapsible sections for settings and FAQs.

It cuts motor torque within 200 ms. The robot sits down and holds still until released.

Accordion default

Install
npx shadcn add @syncrobotic/accordion

Also installs: radix-ui, lucide-react, @syncrobotic/cn

Overview

Sections that open and close in place.

When to use

  • Long settings, FAQs, details the user rarely needs.

Use something else

  • Sections that are each a full view: Tabs.

More examples

States and real uses. Each example is also a Storybook story and a visual regression test.

Perimeter every 2 h, 4 robots.

Parking lot and warehouse, 2 robots.

Accordion multiple

Usage rules

  • Long content most people skip: FAQs, advanced settings. Content everyone needs stays open.
  • One open at a time only when the sections are alternatives.

Changelog

  • 0.10.02026-11-18Disabled keeps its words readable: a grey field (bg-muted, muted text) on controls with a surface, solid disabled ink on items and icons; no more 50 % opacity, which washes text out in sunlight.
  • 0.7.02026-11-17Trigger presses; the chevron turns on the standard curve.
  • 0.6.02026-11-17Content expands and collapses.

How to upgrade