Foundation
Radius
Border radius tokens
Overview
Tokens that define the border radius of components.
Radius Scale
4 tokens
| Token | Value |
|---|---|
Usage
import { Box } from '@illog/ui'
import { tokens } from '@illog/themes'
// Token values are in the table above
export const cardRadius = tokens.size.radius[200]
export function Rounded() {
return (
<>
<Box rounded="200">Default radius</Box>
<Box rounded="full">Circle</Box>
</>
)
}