Skip to content

ISS - Tailwind for Rust Iced

Tailwind for Rust Iced.

Compile-time classes and typed builders. Zero runtime parsing.

container(player)
    .tw(tw!(
        "w-[324px] p-[18px] rounded-[18px] bg-[#120f1d]/62 backdrop-blur-xl shadow-2xl"
    ))

container(progress)
    .tw(tw!(
        "h-[5px] w-[62%] rounded-full bg-linear-to-r from-violet-400 to-fuchsia-200"
    ))
Live Rust Iced + ISS frosted-glass Now Playing widget
Interactive Iced

Hover, press, and group states without closures

Interact with the native controls on the right. Each active state highlights the exact compiled utility on the left.

src/controls.rs 4 lines
 
hover: active: focus-visible: group-hover:
Live Rust Iced interactive group row and button preview
Interactive Iced Hover, click, or Tab-focus the native Iced controls

Frosted glass, blur, and rounded clipping

Toggle backdrop blur, saturation, shadows, and corner clipping live over layered graphics.

Live Rust Iced frosted-glass media deck over layered radial light graphics
Interactive Iced

One style tree across live themes

Update accent tokens at runtime and scope dark: or light: subtrees side by side without recompiling.

Interactive Rust Iced dark theme card
Interactive Rust Iced light theme card

Compile-time verified, native everywhere

Every tw!() string is checked by rustc at build time and lowers to the same IssStyle IR as typed Rust builders.

Zero runtime CSS parser
Parsed in proc-macro
wgpu + tiny-skia
GPU shaders + CPU fallback
Single Rust dependency
MIT · tree-shakes unused APIs

Explore the documentation

Start with a working Iced app or jump straight into the full reference.