skip to the page
superthread
componentsaccordion
system
superthread
version
2.15.1
date
24.11.26

accordion

a set of disclosures between full-width rules. each row opens its own panel, turns one chevron and keeps keyboard focus inside the trigger.

bunx --bun shadcn@latest add @mk/accordion

example

one answer opens at a time. use the arrow keys to move between questions, then enter or space to open one.

light

each run keeps its task, result and log. open a run to follow its progress.

see a single disclosure

dark

each run keeps its task, result and log. open a run to follow its progress.

see a single disclosure

behavior

allow several panels to stay open together. each trigger still names and controls its own answer.

light

each run keeps its task, result and log. open a run to follow its progress.

see a single disclosure

dark

each run keeps its task, result and log. open a run to follow its progress.

see a single disclosure

states

closed and open share the same ruled row. hover underlines the words, focus stays inside, and disabled removes the action.

light

closed
48 px row between rules

3 logs, 1 result.

open
chevron turns; panel opens

hover
underlined trigger

focus
ring inside the full row

disabled
disabled label and trigger

dark

closed
48 px row between rules

3 logs, 1 result.

open
chevron turns; panel opens

hover
underlined trigger

focus
ring inside the full row

disabled
disabled label and trigger