Border tokens control two key style attributes—width and radius. Using them consistently helps maintain a cohesive experience throughout the customer journey. For information on border colours, please see the colour tokens section.
Border radius tokens
Our border-radius system is based on component size (or visual footprint). As a general rule, larger components use a larger radius. To standardise this, we’ve defined eight border-radius values. The smaller values (3–6px) are intended for elements such as badges, buttons, and inputs. The larger values (8–12px) are used for components and containers like tiles, calendars, and modals. Following this principle ensures a consistent experience across the customer journey. If you’re unsure which radius to apply, please contact the GEL team.
0px
rounded-noneRemoves the border radius
3px
rounded-smFor Small UI component variants - Badges, Buttons, Checkboxes etc.
4px
rounded-mdFor Medium UI component variants - Inputs, Buttons etc.
5px
rounded-lgFor Large UI component variants - Inputs, Buttons etc.
6px
rounded-xlFor XLarge UI component variants - Inputs, Buttons, Tabs, Popovers etc.
8px
rounded-2xlFor mid size UI components and containers. - Selectors, Panels, Flexi-cells, Date Picker, Tiles etc. Note: These will often nest smaller UI elements like buttons, badges and input fields.
12px
rounded-3xlFor large UI components and containers - Modals, Bottom Sheets etc. Note: These will often nest smaller UI elements like buttons, badges and input fields.
16px
rounded-4xlThis radius is restricted for very large promos and containers in the Public site.
Restricted24px
rounded-5xlThis radius is restricted for very large promos and containers in the Public site.
Restrictedfull
rounded-fullFor pill shaped UI components - Badges, Switches, Progress bars etc.
Related information
Articles
Corner radius
Design principles and guidelines to help you understand how to apply corner radius tokens in your designs. Read more about corner radius tokens