← All tools

Interactive Tailwind Cheat Sheet

Search and filter a curated common utility reference with CSS mappings and copyable output.

tailwind-cheat-sheetLOCAL WORKSPACE

Enabling local controls…

Tailwind v4 workbench

Preview uses native CSS, not a Tailwind runtime. Every change updates the result locally. Text and settings stay in page memory.

Limits: 16,000 UTF-8 bytes per text area, 1,000 classes, 24 layout items, 8 cards/shadow layers, 20 × 12 table cells. No input HTML, scripts, URLs or commands execute.

Converters use common documented rules. Arbitrary values and modifier characters are preserved, but unknown tokens are marked unsupported. Real cascade, custom themes and plugins require a Tailwind build.

References checked: · Theme · Responsive design · v4 upgrade guide · Colors

Preview & output

Result updated locally. Review before using in your project.

Review notes

  • 304 matches in a curated common reference. Not every generated v4 utility is included.
Mappings / reference (304)
Current settings: utility mappings and values
ClassCSSCategoryCopy
blockdisplay: blocklayout
inlinedisplay: inlinelayout
inline-blockdisplay: inline-blocklayout
flexdisplay: flexlayout
inline-flexdisplay: inline-flexlayout
griddisplay: gridlayout
inline-griddisplay: inline-gridlayout
contentsdisplay: contentslayout
hiddendisplay: nonelayout
staticposition: staticlayout
fixedposition: fixedlayout
absoluteposition: absolutelayout
relativeposition: relativelayout
stickyposition: stickylayout
flex-rowflex-direction: rowflex-grid
flex-colflex-direction: columnflex-grid
flex-row-reverseflex-direction: row-reverseflex-grid
flex-col-reverseflex-direction: column-reverseflex-grid
flex-nowrapflex-wrap: nowrapflex-grid
flex-wrapflex-wrap: wrapflex-grid
flex-wrap-reverseflex-wrap: wrap-reverseflex-grid
justify-startjustify-content: flex-startflex-grid
justify-endjustify-content: flex-endflex-grid
justify-centerjustify-content: centerflex-grid
justify-betweenjustify-content: space-betweenflex-grid
justify-aroundjustify-content: space-aroundflex-grid
justify-evenlyjustify-content: space-evenlyflex-grid
items-startalign-items: flex-startflex-grid
items-endalign-items: flex-endflex-grid
items-centeralign-items: centerflex-grid
items-stretchalign-items: stretchflex-grid
items-baselinealign-items: baselineflex-grid
font-thinfont-weight: 100typography
font-lightfont-weight: 300typography
font-normalfont-weight: 400typography
font-mediumfont-weight: 500typography
font-semiboldfont-weight: 600typography
font-boldfont-weight: 700typography
font-blackfont-weight: 900typography
text-lefttext-align: leftflex-grid
text-centertext-align: centerflex-grid
text-righttext-align: rightflex-grid
text-justifytext-align: justifyflex-grid
text-starttext-align: startflex-grid
text-endtext-align: endflex-grid
overflow-autooverflow: autolayout
overflow-hiddenoverflow: hiddenlayout
overflow-visibleoverflow: visiblelayout
overflow-scrolloverflow: scrolllayout
overflow-clipoverflow: cliplayout
w-fullwidth: 100%sizing
h-fullheight: 100%sizing
w-screenwidth: 100vwsizing
h-screenheight: 100vhsizing
min-h-screenmin-height: 100vhsizing
w-autowidth: autosizing
h-autoheight: autosizing
mx-automargin-left: auto; margin-right: autolayout
flex-1flex: 1flex-grid
shrink-0flex-shrink: 0flex-grid
growflex-grow: 1flex-grid
borderborder-width: 1px; border-style: solidsizing
border-0border-width: 0pxsizing
border-2border-width: 2px; border-style: solidsizing
rounded-noneborder-radius: 0pxborders
rounded-xsborder-radius: 0.125remborders
rounded-smborder-radius: 0.25remborders
rounded-mdborder-radius: 0.375remborders
rounded-lgborder-radius: 0.5remborders
rounded-xlborder-radius: 0.75remborders
rounded-2xlborder-radius: 1remborders
rounded-fullborder-radius: 9999pxborders
shadow-nonebox-shadow: noneeffects
cursor-pointercursor: pointereffects
select-noneuser-select: noneeffects
underlinetext-decoration-line: underlineeffects
italicfont-style: italictypography
not-italicfont-style: normaltypography
box-borderbox-sizing: border-boxeffects
@containercontainer-type: inline-sizelayout
text-xsfont-size: 0.75rem; line-height: 1remtypography
text-smfont-size: 0.875rem; line-height: 1.25remtypography
text-basefont-size: 1rem; line-height: 1.5remtypography
text-lgfont-size: 1.125rem; line-height: 1.75remtypography
text-xlfont-size: 1.25rem; line-height: 1.75remtypography
text-2xlfont-size: 1.5rem; line-height: 2remtypography
text-3xlfont-size: 1.875rem; line-height: 2.25remtypography
text-4xlfont-size: 2.25rem; line-height: 2.5remtypography
bg-red-500background-color: oklch(63.7% 0.237 25.331)colors
text-red-500color: oklch(63.7% 0.237 25.331)colors
border-red-500border-color: oklch(63.7% 0.237 25.331)colors
bg-orange-500background-color: oklch(70.5% 0.213 47.604)colors
text-orange-500color: oklch(70.5% 0.213 47.604)colors
border-orange-500border-color: oklch(70.5% 0.213 47.604)colors
bg-amber-500background-color: oklch(76.9% 0.188 70.08)colors
text-amber-500color: oklch(76.9% 0.188 70.08)colors
border-amber-500border-color: oklch(76.9% 0.188 70.08)colors
bg-yellow-500background-color: oklch(79.5% 0.184 86.047)colors
text-yellow-500color: oklch(79.5% 0.184 86.047)colors
border-yellow-500border-color: oklch(79.5% 0.184 86.047)colors
bg-lime-500background-color: oklch(76.8% 0.233 130.85)colors
text-lime-500color: oklch(76.8% 0.233 130.85)colors
border-lime-500border-color: oklch(76.8% 0.233 130.85)colors
bg-green-500background-color: oklch(72.3% 0.219 149.579)colors
text-green-500color: oklch(72.3% 0.219 149.579)colors
border-green-500border-color: oklch(72.3% 0.219 149.579)colors
bg-emerald-500background-color: oklch(69.6% 0.17 162.48)colors
text-emerald-500color: oklch(69.6% 0.17 162.48)colors
border-emerald-500border-color: oklch(69.6% 0.17 162.48)colors
bg-teal-500background-color: oklch(70.4% 0.14 182.503)colors
text-teal-500color: oklch(70.4% 0.14 182.503)colors
border-teal-500border-color: oklch(70.4% 0.14 182.503)colors
bg-cyan-500background-color: oklch(71.5% 0.143 215.221)colors
text-cyan-500color: oklch(71.5% 0.143 215.221)colors
border-cyan-500border-color: oklch(71.5% 0.143 215.221)colors
bg-sky-500background-color: oklch(68.5% 0.169 237.323)colors
text-sky-500color: oklch(68.5% 0.169 237.323)colors
border-sky-500border-color: oklch(68.5% 0.169 237.323)colors
bg-blue-50background-color: oklch(97% 0.014 254.604)colors
text-blue-50color: oklch(97% 0.014 254.604)colors
border-blue-50border-color: oklch(97% 0.014 254.604)colors
bg-blue-100background-color: oklch(93.2% 0.032 255.585)colors
text-blue-100color: oklch(93.2% 0.032 255.585)colors
border-blue-100border-color: oklch(93.2% 0.032 255.585)colors
bg-blue-500background-color: oklch(62.3% 0.214 259.815)colors
text-blue-500color: oklch(62.3% 0.214 259.815)colors
border-blue-500border-color: oklch(62.3% 0.214 259.815)colors
bg-blue-600background-color: oklch(54.6% 0.245 262.881)colors
text-blue-600color: oklch(54.6% 0.245 262.881)colors
border-blue-600border-color: oklch(54.6% 0.245 262.881)colors
bg-blue-700background-color: oklch(48.8% 0.243 264.376)colors
text-blue-700color: oklch(48.8% 0.243 264.376)colors
border-blue-700border-color: oklch(48.8% 0.243 264.376)colors
bg-blue-900background-color: oklch(37.9% 0.146 265.522)colors
text-blue-900color: oklch(37.9% 0.146 265.522)colors
border-blue-900border-color: oklch(37.9% 0.146 265.522)colors
bg-indigo-500background-color: oklch(58.5% 0.233 277.117)colors
text-indigo-500color: oklch(58.5% 0.233 277.117)colors
border-indigo-500border-color: oklch(58.5% 0.233 277.117)colors
bg-violet-500background-color: oklch(60.6% 0.25 292.717)colors
text-violet-500color: oklch(60.6% 0.25 292.717)colors
border-violet-500border-color: oklch(60.6% 0.25 292.717)colors
bg-purple-500background-color: oklch(62.7% 0.265 303.9)colors
text-purple-500color: oklch(62.7% 0.265 303.9)colors
border-purple-500border-color: oklch(62.7% 0.265 303.9)colors
bg-fuchsia-500background-color: oklch(66.7% 0.295 322.15)colors
text-fuchsia-500color: oklch(66.7% 0.295 322.15)colors
border-fuchsia-500border-color: oklch(66.7% 0.295 322.15)colors
bg-pink-500background-color: oklch(65.6% 0.241 354.308)colors
text-pink-500color: oklch(65.6% 0.241 354.308)colors
border-pink-500border-color: oklch(65.6% 0.241 354.308)colors
bg-rose-500background-color: oklch(64.5% 0.246 16.439)colors
text-rose-500color: oklch(64.5% 0.246 16.439)colors
border-rose-500border-color: oklch(64.5% 0.246 16.439)colors
bg-slate-50background-color: oklch(98.4% 0.003 247.858)colors
text-slate-50color: oklch(98.4% 0.003 247.858)colors
border-slate-50border-color: oklch(98.4% 0.003 247.858)colors
bg-slate-100background-color: oklch(96.8% 0.007 247.896)colors
text-slate-100color: oklch(96.8% 0.007 247.896)colors
border-slate-100border-color: oklch(96.8% 0.007 247.896)colors
bg-slate-200background-color: oklch(92.9% 0.013 255.508)colors
text-slate-200color: oklch(92.9% 0.013 255.508)colors
border-slate-200border-color: oklch(92.9% 0.013 255.508)colors
bg-slate-300background-color: oklch(86.9% 0.022 252.894)colors
text-slate-300color: oklch(86.9% 0.022 252.894)colors
border-slate-300border-color: oklch(86.9% 0.022 252.894)colors
bg-slate-400background-color: oklch(70.4% 0.04 256.788)colors
text-slate-400color: oklch(70.4% 0.04 256.788)colors
border-slate-400border-color: oklch(70.4% 0.04 256.788)colors
bg-slate-500background-color: oklch(55.4% 0.046 257.417)colors
text-slate-500color: oklch(55.4% 0.046 257.417)colors
border-slate-500border-color: oklch(55.4% 0.046 257.417)colors
bg-slate-600background-color: oklch(44.6% 0.043 257.281)colors
text-slate-600color: oklch(44.6% 0.043 257.281)colors
border-slate-600border-color: oklch(44.6% 0.043 257.281)colors
bg-slate-700background-color: oklch(37.2% 0.044 257.287)colors
text-slate-700color: oklch(37.2% 0.044 257.287)colors
border-slate-700border-color: oklch(37.2% 0.044 257.287)colors
bg-slate-800background-color: oklch(27.9% 0.041 260.031)colors
text-slate-800color: oklch(27.9% 0.041 260.031)colors
border-slate-800border-color: oklch(27.9% 0.041 260.031)colors
bg-slate-900background-color: oklch(20.8% 0.042 265.755)colors
text-slate-900color: oklch(20.8% 0.042 265.755)colors
border-slate-900border-color: oklch(20.8% 0.042 265.755)colors
bg-slate-950background-color: oklch(12.9% 0.042 264.695)colors
text-slate-950color: oklch(12.9% 0.042 264.695)colors
border-slate-950border-color: oklch(12.9% 0.042 264.695)colors
bg-gray-500background-color: oklch(55.1% 0.027 264.364)colors
text-gray-500color: oklch(55.1% 0.027 264.364)colors
border-gray-500border-color: oklch(55.1% 0.027 264.364)colors
bg-zinc-500background-color: oklch(55.2% 0.016 285.938)colors
text-zinc-500color: oklch(55.2% 0.016 285.938)colors
border-zinc-500border-color: oklch(55.2% 0.016 285.938)colors
bg-neutral-500background-color: oklch(55.6% 0 0)colors
text-neutral-500color: oklch(55.6% 0 0)colors
border-neutral-500border-color: oklch(55.6% 0 0)colors
bg-stone-500background-color: oklch(55.3% 0.013 58.071)colors
text-stone-500color: oklch(55.3% 0.013 58.071)colors
border-stone-500border-color: oklch(55.3% 0.013 58.071)colors
bg-mauve-500background-color: oklch(54.2% 0.034 322.5)colors
text-mauve-500color: oklch(54.2% 0.034 322.5)colors
border-mauve-500border-color: oklch(54.2% 0.034 322.5)colors
bg-olive-500background-color: oklch(58% 0.031 107.3)colors
text-olive-500color: oklch(58% 0.031 107.3)colors
border-olive-500border-color: oklch(58% 0.031 107.3)colors
bg-mist-500background-color: oklch(56% 0.021 213.5)colors
text-mist-500color: oklch(56% 0.021 213.5)colors
border-mist-500border-color: oklch(56% 0.021 213.5)colors
bg-taupe-500background-color: oklch(54.7% 0.021 43.1)colors
text-taupe-500color: oklch(54.7% 0.021 43.1)colors
border-taupe-500border-color: oklch(54.7% 0.021 43.1)colors
bg-whitebackground-color: #fffcolors
text-whitecolor: #fffcolors
border-whiteborder-color: #fffcolors
bg-blackbackground-color: #000colors
text-blackcolor: #000colors
border-blackborder-color: #000colors
p-0padding: 0remspacing
p-1padding: 0.25remspacing
p-2padding: 0.5remspacing
p-4padding: 1remspacing
p-6padding: 1.5remspacing
p-8padding: 2remspacing
p-12padding: 3remspacing
p-16padding: 4remspacing
p-24padding: 6remspacing
px-0padding-left: 0rem; padding-right: 0remlayout
px-1padding-left: 0.25rem; padding-right: 0.25remlayout
px-2padding-left: 0.5rem; padding-right: 0.5remlayout
px-4padding-left: 1rem; padding-right: 1remlayout
px-6padding-left: 1.5rem; padding-right: 1.5remlayout
px-8padding-left: 2rem; padding-right: 2remlayout
px-12padding-left: 3rem; padding-right: 3remlayout
px-16padding-left: 4rem; padding-right: 4remlayout
px-24padding-left: 6rem; padding-right: 6remlayout
py-0padding-top: 0rem; padding-bottom: 0remlayout
py-1padding-top: 0.25rem; padding-bottom: 0.25remlayout
py-2padding-top: 0.5rem; padding-bottom: 0.5remlayout
py-4padding-top: 1rem; padding-bottom: 1remlayout
py-6padding-top: 1.5rem; padding-bottom: 1.5remlayout
py-8padding-top: 2rem; padding-bottom: 2remlayout
py-12padding-top: 3rem; padding-bottom: 3remlayout
py-16padding-top: 4rem; padding-bottom: 4remlayout
py-24padding-top: 6rem; padding-bottom: 6remlayout
m-0margin: 0remspacing
m-1margin: 0.25remspacing
m-2margin: 0.5remspacing
m-4margin: 1remspacing
m-6margin: 1.5remspacing
m-8margin: 2remspacing
m-12margin: 3remspacing
m-16margin: 4remspacing
m-24margin: 6remspacing
mx-0margin-left: 0rem; margin-right: 0remlayout
mx-1margin-left: 0.25rem; margin-right: 0.25remlayout
mx-2margin-left: 0.5rem; margin-right: 0.5remlayout
mx-4margin-left: 1rem; margin-right: 1remlayout
mx-6margin-left: 1.5rem; margin-right: 1.5remlayout
mx-8margin-left: 2rem; margin-right: 2remlayout
mx-12margin-left: 3rem; margin-right: 3remlayout
mx-16margin-left: 4rem; margin-right: 4remlayout
mx-24margin-left: 6rem; margin-right: 6remlayout
my-0margin-top: 0rem; margin-bottom: 0remlayout
my-1margin-top: 0.25rem; margin-bottom: 0.25remlayout
my-2margin-top: 0.5rem; margin-bottom: 0.5remlayout
my-4margin-top: 1rem; margin-bottom: 1remlayout
my-6margin-top: 1.5rem; margin-bottom: 1.5remlayout
my-8margin-top: 2rem; margin-bottom: 2remlayout
my-12margin-top: 3rem; margin-bottom: 3remlayout
my-16margin-top: 4rem; margin-bottom: 4remlayout
my-24margin-top: 6rem; margin-bottom: 6remlayout
gap-0gap: 0remspacing
gap-1gap: 0.25remspacing
gap-2gap: 0.5remspacing
gap-4gap: 1remspacing
gap-6gap: 1.5remspacing
gap-8gap: 2remspacing
gap-12gap: 3remspacing
gap-16gap: 4remspacing
gap-24gap: 6remspacing
w-0width: 0remsizing
w-1width: 0.25remsizing
w-2width: 0.5remsizing
w-4width: 1remsizing
w-6width: 1.5remsizing
w-8width: 2remsizing
w-12width: 3remsizing
w-16width: 4remsizing
w-24width: 6remsizing
h-0height: 0remsizing
h-1height: 0.25remsizing
h-2height: 0.5remsizing
h-4height: 1remsizing
h-6height: 1.5remsizing
h-8height: 2remsizing
h-12height: 3remsizing
h-16height: 4remsizing
h-24height: 6remsizing
grid-cols-1grid-template-columns: repeat(1, minmax(0, 1fr))flex-grid
grid-cols-2grid-template-columns: repeat(2, minmax(0, 1fr))flex-grid
grid-cols-3grid-template-columns: repeat(3, minmax(0, 1fr))flex-grid
grid-cols-4grid-template-columns: repeat(4, minmax(0, 1fr))flex-grid
grid-cols-6grid-template-columns: repeat(6, minmax(0, 1fr))flex-grid
grid-cols-12grid-template-columns: repeat(12, minmax(0, 1fr))flex-grid
Classes

Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.

block
inline
inline-block
flex
inline-flex
grid
inline-grid
contents
hidden
static
fixed
absolute
relative
sticky
flex-row
flex-col
flex-row-reverse
flex-col-reverse
flex-nowrap
flex-wrap
flex-wrap-reverse
justify-start
justify-end
justify-center
justify-between
justify-around
justify-evenly
items-start
items-end
items-center
items-stretch
items-baseline
font-thin
font-light
font-normal
font-medium
font-semibold
font-bold
font-black
text-left
text-center
text-right
text-justify
text-start
text-end
overflow-auto
overflow-hidden
overflow-visible
overflow-scroll
overflow-clip
w-full
h-full
w-screen
h-screen
min-h-screen
w-auto
h-auto
mx-auto
flex-1
shrink-0
grow
border
border-0
border-2
rounded-none
rounded-xs
rounded-sm
rounded-md
rounded-lg
rounded-xl
rounded-2xl
rounded-full
shadow-none
cursor-pointer
select-none
underline
italic
not-italic
box-border
@container
text-xs
text-sm
text-base
text-lg
text-xl
text-2xl
text-3xl
text-4xl
bg-red-500
text-red-500
border-red-500
bg-orange-500
text-orange-500
border-orange-500
bg-amber-500
text-amber-500
border-amber-500
bg-yellow-500
text-yellow-500
border-yellow-500
bg-lime-500
text-lime-500
border-lime-500
bg-green-500
text-green-500
border-green-500
bg-emerald-500
text-emerald-500
border-emerald-500
bg-teal-500
text-teal-500
border-teal-500
bg-cyan-500
text-cyan-500
border-cyan-500
bg-sky-500
text-sky-500
border-sky-500
bg-blue-50
text-blue-50
border-blue-50
bg-blue-100
text-blue-100
border-blue-100
bg-blue-500
text-blue-500
border-blue-500
bg-blue-600
text-blue-600
border-blue-600
bg-blue-700
text-blue-700
border-blue-700
bg-blue-900
text-blue-900
border-blue-900
bg-indigo-500
text-indigo-500
border-indigo-500
bg-violet-500
text-violet-500
border-violet-500
bg-purple-500
text-purple-500
border-purple-500
bg-fuchsia-500
text-fuchsia-500
border-fuchsia-500
bg-pink-500
text-pink-500
border-pink-500
bg-rose-500
text-rose-500
border-rose-500
bg-slate-50
text-slate-50
border-slate-50
bg-slate-100
text-slate-100
border-slate-100
bg-slate-200
text-slate-200
border-slate-200
bg-slate-300
text-slate-300
border-slate-300
bg-slate-400
text-slate-400
border-slate-400
bg-slate-500
text-slate-500
border-slate-500
bg-slate-600
text-slate-600
border-slate-600
bg-slate-700
text-slate-700
border-slate-700
bg-slate-800
text-slate-800
border-slate-800
bg-slate-900
text-slate-900
border-slate-900
bg-slate-950
text-slate-950
border-slate-950
bg-gray-500
text-gray-500
border-gray-500
bg-zinc-500
text-zinc-500
border-zinc-500
bg-neutral-500
text-neutral-500
border-neutral-500
bg-stone-500
text-stone-500
border-stone-500
bg-mauve-500
text-mauve-500
border-mauve-500
bg-olive-500
text-olive-500
border-olive-500
bg-mist-500
text-mist-500
border-mist-500
bg-taupe-500
text-taupe-500
border-taupe-500
bg-white
text-white
border-white
bg-black
text-black
border-black
p-0
p-1
p-2
p-4
p-6
p-8
p-12
p-16
p-24
px-0
px-1
px-2
px-4
px-6
px-8
px-12
px-16
px-24
py-0
py-1
py-2
py-4
py-6
py-8
py-12
py-16
py-24
m-0
m-1
m-2
m-4
m-6
m-8
m-12
m-16
m-24
mx-0
mx-1
mx-2
mx-4
mx-6
mx-8
mx-12
mx-16
mx-24
my-0
my-1
my-2
my-4
my-6
my-8
my-12
my-16
my-24
gap-0
gap-1
gap-2
gap-4
gap-6
gap-8
gap-12
gap-16
gap-24
w-0
w-1
w-2
w-4
w-6
w-8
w-12
w-16
w-24
h-0
h-1
h-2
h-4
h-6
h-8
h-12
h-16
h-24
grid-cols-1
grid-cols-2
grid-cols-3
grid-cols-4
grid-cols-6
grid-cols-12
Expand complete selectable text
block
inline
inline-block
flex
inline-flex
grid
inline-grid
contents
hidden
static
fixed
absolute
relative
sticky
flex-row
flex-col
flex-row-reverse
flex-col-reverse
flex-nowrap
flex-wrap
flex-wrap-reverse
justify-start
justify-end
justify-center
justify-between
justify-around
justify-evenly
items-start
items-end
items-center
items-stretch
items-baseline
font-thin
font-light
font-normal
font-medium
font-semibold
font-bold
font-black
text-left
text-center
text-right
text-justify
text-start
text-end
overflow-auto
overflow-hidden
overflow-visible
overflow-scroll
overflow-clip
w-full
h-full
w-screen
h-screen
min-h-screen
w-auto
h-auto
mx-auto
flex-1
shrink-0
grow
border
border-0
border-2
rounded-none
rounded-xs
rounded-sm
rounded-md
rounded-lg
rounded-xl
rounded-2xl
rounded-full
shadow-none
cursor-pointer
select-none
underline
italic
not-italic
box-border
@container
text-xs
text-sm
text-base
text-lg
text-xl
text-2xl
text-3xl
text-4xl
bg-red-500
text-red-500
border-red-500
bg-orange-500
text-orange-500
border-orange-500
bg-amber-500
text-amber-500
border-amber-500
bg-yellow-500
text-yellow-500
border-yellow-500
bg-lime-500
text-lime-500
border-lime-500
bg-green-500
text-green-500
border-green-500
bg-emerald-500
text-emerald-500
border-emerald-500
bg-teal-500
text-teal-500
border-teal-500
bg-cyan-500
text-cyan-500
border-cyan-500
bg-sky-500
text-sky-500
border-sky-500
bg-blue-50
text-blue-50
border-blue-50
bg-blue-100
text-blue-100
border-blue-100
bg-blue-500
text-blue-500
border-blue-500
bg-blue-600
text-blue-600
border-blue-600
bg-blue-700
text-blue-700
border-blue-700
bg-blue-900
text-blue-900
border-blue-900
bg-indigo-500
text-indigo-500
border-indigo-500
bg-violet-500
text-violet-500
border-violet-500
bg-purple-500
text-purple-500
border-purple-500
bg-fuchsia-500
text-fuchsia-500
border-fuchsia-500
bg-pink-500
text-pink-500
border-pink-500
bg-rose-500
text-rose-500
border-rose-500
bg-slate-50
text-slate-50
border-slate-50
bg-slate-100
text-slate-100
border-slate-100
bg-slate-200
text-slate-200
border-slate-200
bg-slate-300
text-slate-300
border-slate-300
bg-slate-400
text-slate-400
border-slate-400
bg-slate-500
text-slate-500
border-slate-500
bg-slate-600
text-slate-600
border-slate-600
bg-slate-700
text-slate-700
border-slate-700
bg-slate-800
text-slate-800
border-slate-800
bg-slate-900
text-slate-900
border-slate-900
bg-slate-950
text-slate-950
border-slate-950
bg-gray-500
text-gray-500
border-gray-500
bg-zinc-500
text-zinc-500
border-zinc-500
bg-neutral-500
text-neutral-500
border-neutral-500
bg-stone-500
text-stone-500
border-stone-500
bg-mauve-500
text-mauve-500
border-mauve-500
bg-olive-500
text-olive-500
border-olive-500
bg-mist-500
text-mist-500
border-mist-500
bg-taupe-500
text-taupe-500
border-taupe-500
bg-white
text-white
border-white
bg-black
text-black
border-black
p-0
p-1
p-2
p-4
p-6
p-8
p-12
p-16
p-24
px-0
px-1
px-2
px-4
px-6
px-8
px-12
px-16
px-24
py-0
py-1
py-2
py-4
py-6
py-8
py-12
py-16
py-24
m-0
m-1
m-2
m-4
m-6
m-8
m-12
m-16
m-24
mx-0
mx-1
mx-2
mx-4
mx-6
mx-8
mx-12
mx-16
mx-24
my-0
my-1
my-2
my-4
my-6
my-8
my-12
my-16
my-24
gap-0
gap-1
gap-2
gap-4
gap-6
gap-8
gap-12
gap-16
gap-24
w-0
w-1
w-2
w-4
w-6
w-8
w-12
w-16
w-24
h-0
h-1
h-2
h-4
h-6
h-8
h-12
h-16
h-24
grid-cols-1
grid-cols-2
grid-cols-3
grid-cols-4
grid-cols-6
grid-cols-12

How to use this tool

Edit the labelled controls to update a native CSS preview and copy or download Tailwind v4 output. Examples and reset stay in page memory.

When not to use it

No Tailwind runtime or full compiler. Converters support a documented common subset and list unknown utilities. Class conflicts and dark colors are suggestions requiring review in your built project. Input 16,000 UTF-8 bytes, 1,000 classes; no scripts or input HTML execute.