TRounded

type
Shape & Appearance

Corner-radius variant tokens — x-small through x-large plus shaped and shaped-invert.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

small
Small corner radius (4px).
none
md
xs
sm
lg
xl
x-small
Extra small corner radius (2px).
default
Default corner radius defined by the component token.
medium
Medium corner radius (8px).
large
Large corner radius (12px).
x-large
Extra large corner radius (16px).
shaped
Pill-like shape — fully rounded left/right ends.
shaped-invert
Inverted pill shape — concave corners on the ends.
full

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Card with various radius tokens

html