Skip to content

Tailwind CSS Class Reference

Interactive searchable reference for Tailwind CSS utility classes with live previews, CSS output, and arbitrary value support

Updated

What is the Tailwind CSS Class Reference?

How it works

Examples

Find spacing classes

Search for "p-4" or "m-auto" to find spacing classes
Shows p-4 with CSS output: padding: 1rem; (16px) with live preview

Explore color utilities

Search for "bg-blue-500" or "text-red"
Displays color swatch, hex value #3b82f6, and related color shades

Test arbitrary values

Select p-4 class and enter arbitrary value "20px"
Preview updates with 20px padding, CSS shows padding: 20px;

Copy CSS output

Click shadow-lg and select "Minified" format
box-shadow:0 10px 15px -3px rgb(0 0 0 / .1),0 4px 6px -4px rgb(0 0 0 / .1)

Frequently asked questions