brijr/ui

Lab

Accordion

npx shadcn@latest add @brijr/accordion

Open state

Single mode: opening one item closes the other.

all closed

Standard (5 to 7 days), express (2 to 3 days) and overnight. Every order ships with tracking.

defaultValue={["shipping"]}

Return any unused item in its original packaging within 30 days.

collapsible={false}

Multiple

Standard (5 to 7 days), express (2 to 3 days) and overnight. Every order ships with tracking.

Email, chat or phone. We answer within 24 hours on business days.
multiple · two open

Standard (5 to 7 days), express (2 to 3 days) and overnight. Every order ships with tracking.

Return any unused item in its original packaging within 30 days.

Email, chat or phone. We answer within 24 hours on business days.
multiple · all open

Disabled

Disabled triggers stay focusable but do not open or close.

Standard (5 to 7 days), express (2 to 3 days) and overnight. Every order ships with tracking.

AccordionItem disabled

Standard (5 to 7 days), express (2 to 3 days) and overnight. Every order ships with tracking.

Accordion disabled

Return any unused item in its original packaging within 30 days.

disabled item · open

Content

one item

Yes. Billing history moves with the subscription.

long title

We keep project data for as long as your workspace is active. When you delete a project, it moves to the trash and stays there for 30 days before it is removed for good.

Backups are kept for a further 14 days and then overwritten. Audit logs are kept for one year on the Team plan and for seven years on Enterprise.

You can export everything at any time from Settings, then Data, then Export. Exports include files, comments and version history.

long panel

Content className

AccordionContent's className lands on the padded element inside the panel, not on the panel that animates its height, so layout classes arrange the content.

Frankfurt

London

Mumbai

Oregon

São Paulo

Singapore

Sydney

Virginia

AccordionContent className="columns-2"

Heading level

AccordionTrigger wraps its button in an h3. Pass header to use the level that fits the page.

Free, Team and Enterprise.

header={<h2 />}

Nested

The inner accordion uses header={<h4 />} so its headings sit one level under the outer h3.

Name, photo and the email people see.

accordion inside a panel · header={<h4 />}