Skip to content

justify-items

Utilities for aligning grid items along their inline axis inside each grid cell.

Flexbox & GridTailwind v4 Spec
ISS preview
Iced + ISS preview demonstrating justify-items
ISS preview for justify-items
use iss::{grid_tw, tw};
let grid = grid_tw(badges, tw!("grid-cols-3 justify-items-center gap-3"));
Tailwind Class CSS Property / Effect iss::typed Builder
justify-items-start justify-items: start; .justify_items_start()
justify-items-end justify-items: end; .justify_items_end()
justify-items-center justify-items: center; .justify_items_center()
justify-items-stretch justify-items: stretch; .justify_items_stretch()
justify-items-normal justify-items: normal; .justify_items_normal()

justify-self · place-items · align-items