Qeetrix

Accordion

Usage

Import

import { Accordion } from "@qeetrix/ui";

It can also be imported on its own from @qeetrix/ui/components/accordion.

Controlled and uncontrolled

Pass the value prop to control it, or the default prop to let the component own it.

ValueDefaultChange
valuedefaultValueonValueChange

States

focus-visible · disabled

Support

FeatureStatus
Right-to-leftSupported
Dark modeSupported
DensitySupported
Server renderingClient component
Reduced motionSupported

Accessibility

Follows the WAI-ARIA accordion pattern. Not yet audited.

Keyboard

Tab Enter Space

Focus

Each control is a Tab stop, in order.

Tests

Covered by unit, accessibility (axe), interaction and visual tests.