Skip to Content
Docs05 Tailwind

Tailwind fundamentals (styling system)

Goal: style React UI quickly without creating an unmaintainable mess.

Use these sources (in order)

What “good” looks like

  • Prefer composition (small components) over huge class strings.
  • Use consistent spacing + typography scale.
  • Encode states: loading/disabled/error/empty.
  • Avoid random one-off values unless there’s a design reason.

Exercises

  • Exercise 1: content/exercises/02-tailwind/01-style-the-react-exercise.mdx
Last updated on