Border utilities — width (border-{value}), radius (rounded-{value}), and color (border-{color}-{tone}), stackable on any element.
<!-- Set border width, radius and color -->
<engine:VisualElement class="border-8 rounded-lg border-red-400"/>Format: border-{value}
| Class | Properties |
|---|---|
| border-0 | border-width: 0 |
| border-1 | border-width: 1px |
| border-2 | border-width: 2px |
| border-4 | border-width: 4px |
| border-8 | border-width: 8px |
| border-12 | border-width: 12px |
| border-16 | border-width: 16px |
Format: rounded-{value}
| Class | Properties |
|---|---|
| rounded-none | border-radius: 0 |
| rounded-sm | border-radius: 2px |
| rounded | border-radius: 4px |
| rounded-md | border-radius: 6px |
| rounded-lg | border-radius: 8px |
| rounded-xl | border-radius: 12px |
| rounded-2xl | border-radius: 16px |
| rounded-3xl | border-radius: 24px |
| rounded-full | border-radius: 9999px |
Format: border-{color}-{tone}
<engine:VisualElement class="border-purple-700" />
<engine:VisualElement class="border-red-500" />
<engine:VisualElement class="border-red-500-half" />The per-ramp border-color classes come from the Essentials theme's Colors/utility-colors.uss (or your own Palette Generator export). The -half suffix means the same tone at 50% opacity — a convention, not shipped by default; see Colors → The -half suffix for the alias to define it yourself.
--color-{name}-{tone} tokens the border-color classes route intoSettings
Theme
Light
Contrast
Material
Dark
Dim
Material Dark
System
Sidebar(Light & Contrast only)
Font Family
DM Sans
Wix
Inclusive Sans
AR One Sans
Direction