Border radius
Justin Spencer

To align with Westpac’s updated design direction, we’ve introduced a set of border radius tokens. This article outlines the design principles, rationale, and usage guidelines behind the border radius system.
The border radius system
Our digital assets span a wide range of sizes, from small badges to full-width marketing promos and banners. The border radius system accommodates these different scales while maintaining a consistent and harmonious visual balance across the customer journey.
We’ve defined eight border radius values (see Figure 1).

These values are assigned to border radius tokens for each of our brands:
We also provide two additional utility tokens shown in Figure 2.

Nesting
Nesting refers to placing one element inside another element, creating a parent–child relationship. Figures 3 and 4 illustrate this principle:


Put simply: The border radius of a nested element (child) should never be larger than the border radius of its parent container.
To ensure this design principle is maintained in the design system:
This is illustrated in Figure 4. The tile component uses an 8px border radius, ensuring that any nested child elements will always have a smaller radius.

Figure 5 shows the same tile being used as a nested child. As a result the parent container requires a larger 12px border radius.

When applying border radius tokens in your designs, it’s important to consider how elements and components will be grouped. This ensures the nesting principles remain visually consistent.
Do and don’t
Designing with tokens will be an adjustment, allow time to familiarise yourself with the system.
Do follow the guides
The GEL documentation includes a comprehensive list of border radius tokens and strict usage guidelines for each. We strongly recommend referencing this list while working.
Don’t change the values
The GEL components use fixed border radius tokens. These are not responsive and must not be changed or overridden.
Don’t use responsive border radius
Designing components with responsive border radius values will create inconsistencies and unnecessary complexity.
More information
The links below provide detailed, design principles and usage guidelines. Allow time to familiarise yourself with the system and always refer to the usage guidelines when applying tokens. If you have any questions please contact the GEL team.