An animated accordion component built on Base UI with Motion spring physics, height collapse mask gradient, blur transitions, and gliding layoutId focus ring.
Made by AxylDefault animated Base UI accordion with Motion spring transitions and glowing focus ring.
Installation
File Structure
Usage
Examples
Bordered Container
Accordion in a bordered container with refined surface styling.
Separated Cards
Accordion with individual card-style separated items.
Multiple Items
Accordion allowing multiple panels to expand simultaneously.
Props
Accordion
| Prop | Type | Default |
|---|---|---|
value? | string | number | (string | number)[] | - |
defaultValue? | string | number | (string | number)[] | [] |
multiple? | boolean | false |
variant? | "default" | "bordered" | "separated" | "ghost" | "default" |
showFocusRing? | boolean | true |
focusRingClassName? | string | - |
focusRingLayoutId? | string | - |
disableAnimation? | boolean | false |
transition? | Transition | { type: "spring", bounce: 0.2, visualDuration: 0.4 } |
onValueChange? | (value: (string | number)[]) => void | - |
AccordionItem
| Prop | Type | Default |
|---|---|---|
value? | string | number | - |
disabled? | boolean | false |
className? | string | - |
AccordionTrigger
| Prop | Type | Default |
|---|---|---|
hideChevron? | boolean | false |
chevron? | ReactNode | - |
chevronClassName? | string | - |
showFocusRing? | boolean | - |
focusRingClassName? | string | - |
AccordionContent
| Prop | Type | Default |
|---|---|---|
innerClassName? | string | - |
className? | string | - |
RTL
Configure right-to-left layouts and migrate Sora UI components for Arabic, Hebrew, Persian, and other RTL languages.
Alert Dialog
An accessible alert dialog component built on Base UI with smooth 3D perspective spring entrance and exit animations, customizable sizes, and media slots.
Built by Axyl. A motion-first component registry for React.
Last updated: 9/13/2026