sheengemologic ui
All components

AccordionItem

A heading, disclosure trigger, and retained panel inside Accordion.@gemologic/sheen · navigation

Playground

This example has no scalar controls. Its validated source remains interactive below.

<Accordion><AccordionItem value="details" label="Details">Section content</AccordionItem></Accordion>

Variant matrix

Details section

Anatomy

Package
@gemologic/sheen
Source
packages/ui/src/primitives/Accordion.tsx
Tokens
  • --sheen-color-fg
  • --sheen-color-focus-ring
  • --sheen-space-block-sm

Accessibility

Role: heading containing disclosure buttonKeyboard: Enter, Space, Tab, ArrowDown, ArrowUp, Home, End

Do

  • Place inside Accordion and retain child ownership while content refreshes.

Do not

  • Do not assume closing disables form submission or application effects.

Generated props

NameTypeDefaultDescription
value *stringStable unique value identifying this section.
label *stringVisible heading-button label.
disabledbooleanfalseDisable this trigger without changing its expanded state.
headingLevel2 | 3 | 4 | 5 | 63Native heading level, from two through six.
Native Solid/HTML attributes remain available and are omitted from this authored-prop view.