radix-ui / primitives

Radix Primitives is an open-source UI component library for building high-quality, accessible design systems and web apps. Maintained by @workos.
https://radix-ui.com/primitives
MIT License
14.82k stars 717 forks source link

[New Primitive] `Carousel` #388

Open chaance opened 3 years ago

chaance commented 3 years ago

See https://github.com/radix-ui/primitives/discussions/375

lucasgelfond commented 1 month ago

Bumping this up—I'd way rather use a Radix native carousel than grab from react-responsive-carousel! Another point in favor (although obviously — maintainers may have a reason, etc) is that shadcn (essentially Radix + Tailwind) has its own Carousel component! https://ui.shadcn.com/docs/components/carousel

Will probably use theirs, but makes it messy because I am anti-tailwind / prefer vanilla Radix. What do maintainers think about this? Busy for a bit / wouldn't be for the next few weeks, but if maintainers are open to this I'd be happy to take a crack at adapting Shadcn's carousel back to radix standards and getting a PR up

howells commented 1 month ago

@lucasgelfond bear in mind that shadcn's solution is just Embla. I just ended up using Embla, skipping shadcn, when I faced the same problem, and works well.