Shape
How round the corners are. Keep the corners of your radius, or make the whole app round with one attribute.
Pick a shape
Round makes every control a pill and gives every surface a soft 24px corner. The rows inside a menu or a list follow its curve, so the corners stay parallel.
Set the shape
Components install with the shape tokens and use Standard unless you set another. Standard takes every corner from --radius, as shadcn's components do. For a round app, put data-shape on <html>:
export default function RootLayout({ children }: { children: React.ReactNode }) { return ( <html lang='en' data-shape='round'> <body>{children}</body> </html> )}Or on any element, to change one part of a page. An element that sets its own --radius needs data-shape too, even data-shape='standard', because the tokens are worked out where data-shape is set. A dialog or a popover renders under <body>, so it takes the page's shape, not the shape of the element its trigger sits in.
In Customise, Round is the last value of Radius.
Tokens
Standard gives each token a step of your radius; Round gives it a size, here in pixels at a 16px root.
The tokens are in your global CSS, one block per shape. To change a value, add a rule of your own below them:
[data-shape='round'] { --surface-radius: 1.25rem;}Don't edit the blocks themselves, because adding another Kino component writes them again.
Use the tokens in your own component
function Card(props: React.ComponentProps<'div'>) { return ( <div className='rounded-(--surface-radius) border p-(--surface-padding)' {...props} /> )}