Skip to content

scroll-behavior

Utilities for controlling smooth versus immediate scroll positioning inside scrollable containers.

InteractivityTailwind v4 Spec
ISS preview
Iced + ISS preview demonstrating scroll-behavior
ISS preview for scroll-behavior
use iss::{scroll_box_tw, tw};
let feed = scroll_box_tw(items, tw!("h-96 overflow-y-auto scroll-smooth"));
Tailwind Class CSS Property / Effect iss::typed Builder
scroll-auto scroll-behavior: auto; .scroll_auto()
scroll-smooth scroll-behavior: smooth; .scroll_smooth()

overscroll-behavior · scroll-snap-type · overflow