Kevin Yank

Recent articles in Tailwind (page 1 of 1)

  1. Jan 22, 2024 Use Tailwind CSS prefixes for shared design system components

    Surprisingly little has been written about how to use Tailwind with design systems or shared components, when both those components and the app consuming them are styled with Tailwind. Tailwind's `prefix` option is specifically designed to allow for this, but it's a somewhat ugly solution that we did our best to avoid at Culture Amp until recently. Here's everything we learned, and why we're ultimately embracing `prefix`.