shadcn-ui-tailwind-prefix Tailwind Templates

Shadcn Ui Tailwind Prefix

A function to prefix shadcn-ui tailwind classes components

shadcn-ui-tailwind-prefix

A function to prefix shadcn-ui tailwind classes components

Transform all your shadcn_ui components classnames created using the command npx shadcn-ui component into prefixed classnames
-> with prefix ("tw-"): flex flex-col absolute -left-4 => tw-flex tw-flex-col tw-absolute -tw-left-4

Requirements

  • Node 18+

How to use

  • Edit your components file path && the prefix
  • run node addTwPrefixToShadCnUi.cjs
  • VoilĂ  !

Top categories

Loading Svelte Themes