Skip to content

scrollbar-color

Tailwind CSS v4.3 utilities for styling the thumb and track colors of Iced Scrollable widgets.

InteractivityTailwind v4 Spec
ISS preview
Iced + ISS preview demonstrating scrollbar-color
ISS preview for scrollbar-color
use iced::widget::scrollable;
use iss::{tw, TwExt};
let pane = scrollable(body).tw(tw!("h-80 scrollbar-thin scrollbar-thumb-zinc-700 scrollbar-track-zinc-950"));
Tailwind Class CSS Property / Effect iss::typed Builder
scrollbar-thumb-<color> Scrollbar thumb color; .scrollbar_thumb(palette::BLUE_500)
scrollbar-track-<color> Scrollbar track color; .scrollbar_track(palette::ZINC_900)
scrollbar-color-auto scrollbar-color: auto; .scrollbar_color_auto()
scrollbar-color-[#3b82f6_#111827] Arbitrary thumb + track pair; .scrollbar_color_custom("#3b82f6 #111827")

scrollbar-width · scrollbar-gutter · overflow