Surfaces & Elevation
Background surfaces, border hierarchy, shadow tokens, and the sharp-corners rule that defines UiPath's visual language.
Backgrounds
Surface Tokens
Background surfaces for pages, cards, sections, and inverted contexts.
Selection
Text Selection
The highlight color when users select text. Uses teal to stay within the brand palette.
Try it — select this text to see the teal highlight in action.
CSS
Borders
Border Hierarchy
Six border tokens ordered from strongest to faintest, plus a dedicated focus ring color.
Radius
Sharp Corners Rule
UiPath's design language uses square corners as the default. Rounded corners are applied contextually — pills use full-round (32px), and circle buttons use 50%.
Design principle
Never add border-radius to frames, buttons, cards, inputs, or other UI elements unless they are specifically pills or circle-shaped. Sharp corners are a core part of UiPath's visual identity.
Elevation
Shadow Tokens (work in progress)
Four shadow tokens define the elevation system. Never use arbitrary rgba() shadow values — always reference these tokens.
CSS Custom Properties
Usage
When to Use What
| Element | Shadow Token | Additional |
|---|---|---|
| Cards & panels | shadow-default |
— |
| Dropdowns, tooltips | shadow-default or shadow-heavy |
— |
| Modals & dialogs | shadow-heavy |
— |
| Pressed inputs | inner-shadow-default |
— |