PREDEFINED_ROUNDED

const
Layout & Sizing

Whitelist of named border-radius variants (xs → shaped-invert) used by useRounded to decide between a utility class and an inline border-radius declaration.

TypeScript

Definition

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

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

ROUNDED.X_SMALL
Extra-small radius — very subtle rounding.
ROUNDED.SMALL
Small radius — light rounding.
ROUNDED.DEFAULT
Default radius — standard component rounding.
ROUNDED.MEDIUM
Medium radius — moderately rounded corners.
ROUNDED.LARGE
Large radius — strongly rounded corners.
ROUNDED.X_LARGE
Extra-large radius — very pronounced rounding.
ROUNDED.SHAPED
Shaped — asymmetric pill-like rounding.
ROUNDED.SHAPED_INVERT
Shaped invert — asymmetric rounding in the opposite direction.

Ecosystem

Used by

Composables and components that consume this constant.

Usage

Examples

Ready-to-paste code snippets using this constant.

Checking whether a rounded value is a named token

typescript