Skip to content

cursor

Utilities for setting all 36 named Tailwind CSS v4 mouse cursors, wired directly to iced::mouse::Interaction.

InteractivityTailwind v4 Spec
Interactive Iced
Rust · WASM
Iced + ISS preview demonstrating cursor
Hover each tile to inspect live Iced mouse::Interaction CSS cursors
use iced::widget::container;
use iss::{tw, TwExt};
let handle = container(bar).tw(tw!("w-1.5 h-full bg-zinc-800 hover:bg-blue-500 cursor-col-resize"));
Tailwind Class CSS Property / Effect iss::typed Builder
cursor-pointer / default / auto cursor: pointer / default / auto; .cursor_pointer() / .cursor_default()
cursor-text / move / grab / grabbing Interactive text & drag cursors; .cursor_grab() / .cursor_grabbing()
cursor-not-allowed / wait / progress / help Status & feedback cursors; .cursor_not_allowed() / .cursor_wait()
cursor-ew-resize / ns-resize / col-resize / row-resize Resize handle cursors; .cursor_col_resize()
cursor-zoom-in / zoom-out / crosshair / copy Canvas & tool cursors; .cursor_crosshair()
cursor-[url(hand.cur),pointer] Arbitrary cursor expression; .cursor_custom("url(hand.cur),pointer")

pointer-events · resize · user-select