Tailwind CSS v4 Utility Finder
Search, filter, and discover the new Tailwind CSS v4 utility classes and configuration directives. From standard flexbox layouts to the new Oxide engine's CSS-first features.
What changed in Tailwind CSS v4?
- CSS-first configuration: No more tailwind.config.js by default. Configure your theme directly in CSS.
- @theme directive: Replaces theme.extend to add custom design tokens.
- Automatic content detection: The new Oxide engine automatically finds templates. No need for content array.
- Built-in @import: Natively import other CSS files or Tailwind plugins directly.
- Lightning fast Oxide engine: Written in Rust, it's 10x faster than v3.
- Native Color-mix: Opacity modifiers now use native CSS color-mix() under the hood.
Showing 71 utilities
flex
Creates a block-level flex container
inline-flex
Creates an inline-level flex container
grid
Creates a grid container
block
Creates a block-level element
hidden
Hides the element
container
Sets element's max-width to match min-width of current breakpoint
columns-2
Sets the number of columns to 2
grid-cols-3
Creates a grid with 3 equally sized columns
col-span-2
Makes element span 2 columns
gap-4
Sets the grid/flex gap to 1rem
place-items-center
Centers grid items on both axes
p-4
Sets padding to 1rem on all sides
px-6
Sets horizontal padding to 1.5rem
py-2
Sets vertical padding to 0.5rem
m-auto
Sets margin to auto on all sides
mx-auto
Centers a block element horizontally
mt-8
Sets top margin to 2rem
space-x-4
Adds horizontal space between children
space-y-2
Adds vertical space between children
gap-x-8
Sets horizontal gap in grid/flex to 2rem
gap-y-4
Sets vertical gap in grid/flex to 1rem
text-sm
Small text size
text-lg
Large text size
text-xl
Extra large text size
font-bold
Bold font weight
font-black
Black/heaviest font weight
tracking-tight
Tighter letter spacing
leading-relaxed
Relaxed line height for reading
text-balance
Balances lines of text evenly
text-wrap
Allows text to wrap normally
truncate
Truncates text with ellipsis
text-gray-900
Sets text color to dark gray
bg-blue-500
Sets background color to blue
text-white
Sets text color to white
bg-gradient-to-r
Creates right-facing gradient
from-blue-600
Sets gradient start color
to-purple-600
Sets gradient end color
bg-clip-text
Clips background to text
text-transparent
Makes text transparent (useful for gradient text)
bg-opacity-50
Sets background opacity
bg-red-500/20
v4 syntax for background color with opacity
rounded-xl
Extra large border radius
rounded-full
Fully rounded border (pill shape)
border
Adds 1px border
border-gray-200
Sets border color to light gray
shadow-md
Medium drop shadow
shadow-xl
Extra large drop shadow
ring-2
Adds 2px focus ring
ring-blue-500
Sets ring color to blue
backdrop-blur-xl
Extra large background blur
opacity-80
Sets element opacity to 80%
transition-all
Animates all transitionable properties
duration-300
Sets transition duration to 300ms
ease-in-out
Sets ease-in-out timing function
hover:scale-105
Scales element up 5% on hover
animate-pulse
Pulsing opacity animation (skeleton loading)
animate-spin
Spinning animation (loading indicator)
animate-bounce
Bouncing animation
delay-150
Delays transition by 150ms
group-hover:translate-x-2
Translates element 0.5rem right when parent group is hovered
@theme
CSS-first configuration replaces tailwind.config.js for defining theme variables
@import 'tailwindcss'
Replaces @tailwind base, components, utilities directives
@plugin
Imports external plugins directly in your CSS file
color-mix()
v4 natively uses CSS color-mix for opacity handling
@container
Marks an element as a container for container queries
@min-w-sm:block
Container query applying display:block when container is sm width
@max-w-md:hidden
Container query applying display:none when container is max md width
perspective-1000
New 3D transform utilities natively supported in v4
rotate-y-180
New native 3D rotation utilities
Automatic Content Detection
v4's Oxide engine automatically finds templates, no need for content:[] config
CSS-first Config
Configuration is done entirely via CSS variables instead of JS config
Handpicked Partner Deals & Gear
Discover top-rated mechanical keyboards, 4K monitors, coding software, and curated developer workstation bundles.
Cite & Link This Resource
Backlink MagnetWriting a blog post, GitHub README, or docs? Embed a backlink snippet or badge to cite this cheat sheet.
[Tailwind CSS v4 Utility Class Finder](https://devdossier.com/resources/tailwind-v4-utility-finder) - Interactive Reference & Cheat Sheet via DevDossier