Radius
Border radius system with 5-step scale for consistent corner rounding. The radius infrastructure (5-step scale, factor system) is from Radix Themes, but Kookie UI uses custom radius values that differ from Radix Themes.
For complete radius documentation and advanced usage, visit the Radix Themes Radius documentation. Note that Kookie UI's typography values are customized and may not match Radix Themes exactly.
Installation
shellUsage
Set radius prop on the Theme component to control border radius across all components. Use consistent radius values to create visual hierarchy and polish.
tsxTokens
Radius tokens with their base CSS values:
cssRadius Scale
None
No border radius for sharp, geometric interfaces.
tsxSmall
Subtle rounding with 0.75x radius factor.
tsxMedium
Standard rounding with 1x radius factor (default).
tsxLarge
Prominent rounding with 1.5x radius factor.
tsxFull
Maximum rounding with 2x radius factor and pill-shaped elements.
tsxRadius Factor System
Theme component uses radius factors that multiply base radius values:
csstsxComponent Overrides
Individual components can override theme radius settings using their radius prop:
tsxCredits
The radius infrastructure (5-step scale system and factor-based multiplier approach) is from Radix Themes by WorkOS. However, Kookie UI uses custom radius values that have been modified from the original Radix Themes values. The radius system structure and approach credit goes to Radix Themes, while the specific radius values are custom to Kookie UI.