All components

Accordion

Vertically stacked disclosure panels with outline, subtle, and enclosed variants.

StyleX extracts every rule to a static CSS file at build time — no runtime style injection.

Variants

StyleX extracts every rule to a static CSS file at build time — no runtime style injection.

outline

StyleX extracts every rule to a static CSS file at build time — no runtime style injection.

subtle

StyleX extracts every rule to a static CSS file at build time — no runtime style injection.

enclosed

Sizes

StyleX extracts every rule to a static CSS file at build time — no runtime style injection.

sm

StyleX extracts every rule to a static CSS file at build time — no runtime style injection.

md

StyleX extracts every rule to a static CSS file at build time — no runtime style injection.

lg

Install

Source

components/ui/ui-sdk/accordion.tsx

Examples

Installable blocks built with Accordion — real use cases, delivered as source you own.

Course Detail

Interactive course overview page featuring breadcrumb navigation, tabbed Syllabus, Outcomes, Instructor, and Reviews views, a checkable 4-module curriculum accordion synced to live progress bars, and a sticky enrollment rail with a photographic course cover, self-paced vs. cohort planning, and toast feedback.

Product Detail

Two-column storefront product detail layout pairing a multi-angle interactive photo gallery with a sticky buy box, live anodized finish swatches, color-temperature edition controls, quantity stepper, collapsible specifications accordion, and filterable customer reviews.