Polski

Frontend

Tailwind CSS

Utility classes instead of stylesheets – consistent styling and fast prototyping.

Article

Tailwind CSS v4 in React and Vite – tokens in @theme, variants with cva, dark mode and accessibility

We set up Tailwind CSS v4 in a React + Vite app and build a small component set for a dumpling shop – design tokens in @theme, semantic tokens for dark mode, buttons with variants (cva + tailwind-merge), accessible form fields and a native dialog. Finally – when to pick Tailwind and when MUI.

Around the topic

In this group: Frontend