ROUNDED
enum
Shape & Appearance
TypeScript enum for corner radius tokens (x-small through x-large, shaped, shaped-invert).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- ROUNDED.X_SMALL
- Extra small corner radius (2px).
- ROUNDED.SMALL
- Small corner radius (4px).
- ROUNDED.DEFAULT
- Component default radius — resolved from the component token.
- ROUNDED.MEDIUM
- Medium corner radius (8px).
- ROUNDED.LARGE
- Large corner radius (12px).
- ROUNDED.X_LARGE
- Extra large corner radius (16px).
- ROUNDED.SHAPED
- Pill shape — fully rounded left/right ends.
- ROUNDED.SHAPED_INVERT
- Inverted pill — concave corners on the ends.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup