bit Bheadless

Accordion

A vertically stacked set of collapsible sections, single or multiple open at a time.

Implementation: CSS Tailwind

Basic Accordion (Single)

Only one item can be open at a time. DefaultValue seeds the initial open item. Each trigger gets aria-expanded and aria-controls automatically.

bit Bheadless is a headless component library for Blazor. Behaviour and accessibility are built in; styling is entirely up to you.

Multiple Open Items

Set Type="BitBhAccordionType.Multiple".

Disabled Item

Individual Disabled="true" on each item.

Controlled Accordion

Drive Value + OnValueChange from outside.

Open: none
An unhandled error has occurred. Reload 🗙