弹性手风琴

单项展开的手风琴组件,采用带权重的弹簧布局与图标行,内容展开对「减少动效」偏好友好。

Plan announcements, staging checks, reminders, and quiet periods around the same timeline.

安装

用 shadcn CLI 添加,或手动复制源码。

$ bunx --bun shadcn add @uilab/bouncy-accordion

API 参考

items
BouncyAccordionItem[]
value?
string | null
defaultValue?
string | null
null
onValueChange?
((value: string | null) => void)
collapsible?
boolean
true
className?
string
classNames?
BouncyAccordionClassNames

Keep in mind

Some components on this site are inspired by or recreated from existing work across the web. I'm not here to take credit; just to learn, experiment, and sometimes push things a bit further. If something looks familiar and I forgot to mention you, reach out and I'll fix that right away.