Border radius
Border radius tokens and classes are used to give sharp edges a more subtle, rounded effect.
Example, value & usage
Tailwind class
Figma variable
Shoelace token
0.25rem (4px)
Used for small elements like checkbox, tag, tooltip
roundedx-small--ts-border-radius-x-small0.375rem (6px)
Used for small inputs only
rounded-mdsmall--ts-border-radius-small0.5rem (8px)
Used for larger elements like cards, inputs, selects
rounded-lglarge--sl-border-radius-large1rem (16px)
Used for dialog (modal) only
rounded-2xlx-large--sl-border-radius-x-large9999px
Used for pill shaped elements like the button
rounded-fullpill--sl-border-radius-pill