Skip to content
Aggarly OS
  • Getting Started
    • Introduction
  • Foundations
    • Colors
    • Spacing
    • Radius
    • Typography
    • Shadows
    • Z-Index
    • Gradients
    • Tokens
    • RTL & Direction
    • Theming
  • Layout
    • Containers
    • Grid System
    • Layout Utilities
  • Components
    • Alerts
    • Avatars
    • Buttons
    • Button Group
    • Badges
    • Inputs
    • Select
    • Checkbox
    • Counters-timers
    • Radio
    • Switch
    • Stepper
    • Select-pro
    • Cards
    • Modals
    • Dropdown
    • Popover
    • Tooltip
    • Accordion
    • Breadcrumb
    • Tabs
    • Navbar
    • List Group
    • Toasts
    • Skeleton
    • Pagination
    • Progress
    • Table
    • Icons
    • Form
    • Ribbons
    • Spinner
    • Offcanvas
    • Feedback
    • Grid
    • Data UI
  • Data UI
    • Overview
  • Platform
    • Reference DataCore
  • Widgets
    • KPI
    • Analytics
    • Behavior
  • Brand
    • Logo
    • Brand Usage
Foundations/Radius

Radius

Border radius tokens define the curvature language of Aggarly Platform. They are runtime CSS variables, ensuring consistency across themes, components, and future visual updates.

Radius Scale

Radius XS
$radius-xs → --ds-radius-xs
var(--ds-radius-xs)
Radius SM
$radius-sm → --ds-radius-sm
var(--ds-radius-sm)
Radius MD
$radius-md → --ds-radius-md
var(--ds-radius-md)
Radius LG
$radius-lg → --ds-radius-lg
var(--ds-radius-lg)
Radius Card
$radius-card → --ds-radius-card
var(--ds-radius-card)
Radius Pill
$radius-pill → --ds-radius-pill
var(--ds-radius-pill)

Usage Guidelines

  • Use smaller radii ($radius-xs, $radius-sm) for dense UI elements such as inputs, badges, and table cells.
  • Use medium radii ($radius-md) for buttons and interactive controls.
  • Use larger radii ($radius-lg, $radius-card) for cards, panels, and elevated surfaces.
  • Use $radius-pill only for fully rounded elements such as pills, avatars, and toggle indicators.