Gallery

cn()

Joins class names; a later Tailwind class wins over an earlier one.

Install

npx shadcn@4.23.0 add https://ui.dobrin-dobrev.co.uk/r/utils.json

Into an app set up with shadcn init --base radix; the parts it uses come with it.

Files

  • registry/default/lib/utils.ts