huntabyte / shadcn-svelte

shadcn/ui, but for Svelte. ✨
https://shadcn-svelte.com
MIT License
4.93k stars 304 forks source link

Support `tailwind.prefix` option in `components.json` #1136

Open AaronPlave opened 3 months ago

AaronPlave commented 3 months ago

Describe the feature

Supporting the tailwind prefix option from https://ui.shadcn.com/docs/components-json#tailwindprefix would improve ease of adoption since the tailwind namespace can sometimes clash with other libraries and codebases.

arcadeJHS commented 1 month ago

+1 I am trying to build a set of custom elements using Svelte and shadcn/ui, to include in an existing site which makes use of Bootstrap classes. The possibility to prefix Tailwind selectors would be really nice!