Border radius

Learn how to set and customize the border radius of your app.

Adjust the border radius of your components using the --radius CSS variable in the globals.css file.

globals.css
:root {
  --radius: 0.5rem; 
  /* ... */
}

Sizes

By default, the theme builder allows 4 border radius values.

SizeValue
None-0.5rem
Small0.125rem
Medium0.25rem
Large0.5rem

But you can use any value you want. Like: 3px or 1rem.

Preview

None

Account

Make changes to your account here. Click save when you're done.

Small

Account

Make changes to your account here. Click save when you're done.

Medium

Account

Make changes to your account here. Click save when you're done.

Large

Account

Make changes to your account here. Click save when you're done.

Custom

This is how will look if the --radius CSS variable is set to 1rem.

Account

Make changes to your account here. Click save when you're done.

On this page