Radius
Soften and group elements by using rounded corners.
.rounded-none
0px
0px
.rounded-sm
0.125rem
2px
.rounded
0.25rem
4px
.rounded-md
0.375rem
6px
.rounded-lg
0.5rem
8px
.rounded-xl
0.75rem
12px
.rounded-2xl
1rem
16px
.rounded-3xl
1.5rem
24px
.rounded-4xl
2rem
32px
.rounded-full
9999px
9999px
Usage in Figma
Radius tokens are published from Stylus Design Tokens and should be available by default in Scribe Figma files. Select the hexagon icon in applicable fields to apply radius tokens.
Usage in code
Sizing for rounded corners is inherited from Tailwind. Although components in Stylus will already come with a border radius pre-defined, this scale can be used to create new components.