border-radius
Utilities for controlling uniform, per-side, per-corner, and logical corner rounding.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let card = container(body).tw(tw!("p-5 bg-zinc-900 rounded-2xl border border-zinc-800"));use iss::typed::*;
let style = IssStyle::new().p(5).bg(palette::ZINC_900).rounded_2xl().border();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
rounded-none / xs / sm / md / lg |
border-radius: 0 .. 0.5rem; |
.rounded_md() / .rounded_lg() |
rounded-xl .. rounded-4xl / full |
border-radius: 0.75rem .. 9999px; |
.rounded_xl() / .rounded_full() |
rounded-t-* / b-* / l-* / r-* |
Per-side corner radii; |
.rounded_t_xl() / .rounded_b_xl() |
rounded-s-* / e-* / ss-* / se-* / ee-* / es-* |
W3C logical corner radii; |
.rounded_s_lg() / .rounded_e_lg() |
rounded-[14px] |
border-radius: 14px; |
.rounded_px(14) |
rounded-(--radius-card) |
border-radius: var(--radius-card); |
.rounded_var("--radius-card") |
Behavior Notes
Section titled “Behavior Notes”- Logical
rounded-s/e/ss/se/ee/es-*flip automatically insidedir_rtl(...). - Add
overflow-hiddenwhen flush child backgrounds or buttons touch the rounded edges.