Search-first workflow
Use keyword search by intent (for example, spacing, typography, hover) to find the right utility fast.
Search common Tailwind utility classes and view concise CSS behavior mappings.
Updated
Find utility classes by name, effect or group.
| Class | Description | CSS | Group |
|---|---|---|---|
| p-4 | Padding all sides | padding: 1rem; | Spacing |
| px-6 | Horizontal padding | padding-left/right: 1.5rem; | Spacing |
| mx-auto | Center block horizontally | margin-left/right: auto; | Spacing |
| grid | Display grid | display: grid; | Layout |
| grid-cols-3 | Three equal columns | grid-template-columns: repeat(3,minmax(0,1fr)); | Layout |
| flex | Display flex | display: flex; | Layout |
| items-center | Cross-axis center | align-items: center; | Layout |
| justify-between | Distribute items | justify-content: space-between; | Layout |
| text-sm | Small text | font-size: .875rem; line-height:1.25rem; | Typography |
| text-2xl | Large heading text | font-size: 1.5rem; line-height:2rem; | Typography |
| font-semibold | Semi-bold weight | font-weight: 600; | Typography |
| tracking-wide | Increase letter spacing | letter-spacing: .025em; | Typography |
| rounded-lg | Rounded corners | border-radius: .5rem; | Borders |
| border | 1px border | border-width: 1px; | Borders |
| shadow-md | Medium shadow | box-shadow: 0 4px 6px -1px rgba(0,0,0,.1)... | Effects |
| bg-white | White background | background-color: #fff; | Background |
| bg-gray-900 | Dark background | background-color: #111827; | Background |
| text-gray-700 | Body text color | color: #374151; | Color |
| hover:bg-gray-50 | Hover background | on hover: background-color #f9fafb; | State |
| focus:ring-2 | Focus ring width | outline ring width 2px; | State |
Quick start
Search utility classes by intent and see CSS mappings instantly.
Type class names or effects like spacing, flex or typography.
Review class meaning and equivalent CSS.
Apply matching classes in your components.
In-depth guide
Quickly search and understand common Tailwind utility classes with plain-English descriptions and CSS equivalents.
Use keyword search by intent (for example, spacing, typography, hover) to find the right utility fast.
Seeing equivalent CSS helps onboard new team members and debug final computed styles.
Most utilities follow a predictable scale (p-4 = 1rem), and responsive prefixes like md: apply a class from a breakpoint up.
Tailwind's JIT only generates classes it can see as complete strings — dynamically concatenated names like `text-${color}` get purged in production, so safelist them or use full class names. Utility values can drift between major versions, so confirm against your installed release. This cheatsheet is a static reference rendered locally in your browser; nothing you search is uploaded.
Use this tool for quick browser-based work when you need an answer or output immediately. Use a dedicated application or automated workflow when you need bulk processing, approvals, or repeatable production rules.
Entries are aligned with modern utility patterns used in Tailwind v3/v4 class naming.
Yes. Class names are shown exactly as they should be used in markup.
No. This is a fast lookup and memory aid for commonly used utilities.
Tailwind's JIT only generates classes it sees as complete strings. Concatenated names like text-${color} get purged. Use full class names or safelist them.
A prefix like md: applies the utility from that breakpoint upward. Tailwind is mobile-first, so unprefixed classes apply at all sizes.
Most spacing utilities map to a rem scale where each step is 0.25rem, so p-4 equals 1rem of padding.
Keep exploring
Hand-picked utilities that pair well with the one you're on — all free, client-side, and zero-signup.
Generate a deduplicated .gitignore by combining language, framework, OS and editor templates.
Convert URL lists into valid sitemap.xml output with optional lastmod, changefreq and priority fields.
Generate SEO, Open Graph and Twitter tags from page metadata fields.
Shrink PDF file size without uploading to a server.
Body Mass Index with metric / imperial inputs and WHO category bands.
Combine multiple PDFs into one in your browser.
Split a PDF by pages or page ranges, download as zip.