BORDER_RADIUS_REGEX
const
Layout & Sizing
Regular expression used to detect a free-form CSS border-radius string passed via the rounded prop. Accepts 1–4 values with standard CSS length units or a unit-less 0. Non-matching values fall through to the named-variant or boolean branches of useRounded.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Resolved value
Ecosystem
Used by
Composables and components that consume this constant.
useRounded
Usage
Examples
Ready-to-paste code snippets using this constant.
Testing if a value is a free-form radius