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

Définition

La définition TypeScript telle qu'elle apparaît dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Entrées

Valeurs

Toutes les entrées de cette constante. Cliquez sur une valeur pour la copier dans le presse-papiers.

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.

Écosystème

Utilisé par

Composables et composants qui consomment cette constante.

Usage

Exemples

Extraits de code prêts à coller utilisant cette constante.

Checking whether a rounded value is a named token

typescript