unovue / shadcn-vue

Vue port of shadcn-ui
https://www.shadcn-vue.com/
MIT License
4.89k stars 280 forks source link

[Feature]: add default animation for collapsibles #185

Closed raxelo closed 11 months ago

raxelo commented 11 months ago

Describe the feature

Currently, the docs show a default collapsible animation but do not provide clear instructions on how to set that up. Instead, you have to figure that out by navigating into the StackBlitz/CodeSandbox example.

By default, the accordion-down and accordion-up animations are added, but that's not the case for the collapsible-down and collapsible-up animations.

I wasn't really sure if this should be reported as a bug or a feature. Since the docs include that animation by default I think it makes sense to add them in the library too.

Additional information

zernonia commented 11 months ago

Closed https://github.com/radix-vue/shadcn-vue/pull/186