scrollbar-gutter
Tailwind CSS v4.3 utilities for reserving stable scrollbar space so layout never shifts when content grows.
ISS preview

Examples
Section titled “Examples”use iss::{scroll_box_tw, tw};
let list = scroll_box_tw(items, tw!("h-72 overflow-y-auto scrollbar-gutter-stable"));use iss::typed::*;
let style = IssStyle::new().h(72).overflow_y_auto().scrollbar_gutter_stable();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
scrollbar-gutter-auto |
scrollbar-gutter: auto; |
.scrollbar_gutter_auto() |
scrollbar-gutter-stable |
scrollbar-gutter: stable; |
.scrollbar_gutter_stable() |
scrollbar-gutter-both |
scrollbar-gutter: stable both-edges; |
.scrollbar_gutter_both() |
Behavior Notes
Section titled “Behavior Notes”- Use with
scroll_box_tw(or callscrollbar_gutter_insetsdirectly) to reserve space for scrollbars.