Skip to content
DGA UI

Icons

Hugeicons, the DGA icon set, with RTL mirroring rules.

On this page

DGA uses Hugeicons. dga-style installs @hugeicons/react and the free stroke-rounded set, @hugeicons/core-free-icons.

Icons and RTL mirroring
icons-direction
icons-theme
icons-viewport
Mobile · 375px

Usage

page.tsx
import { HugeiconsIcon } from "@hugeicons/react";
import { ArrowRight01Icon } from "@hugeicons/core-free-icons";

<HugeiconsIcon icon={ArrowRight01Icon} size={20} className="rtl:-scale-x-100" aria-hidden />
  • Sizes. Use 16, 20 or 24px inside controls, matching the DGA button sizes sm, md and lg.
  • Colour. Icons inherit currentColor. Use the icon tokens (text-icon-default, text-icon-primary, text-icon-success …), which meet 3:1 on every surface.
  • Labels. Decorative icons get aria-hidden. Icon-only buttons need an aria-label.

Mirroring in RTL

Mirror icons that show direction or movement: arrows, chevrons, "next" and "back", breadcrumb separators. Add rtl:-scale-x-100. Do not mirror logos, checkmarks, media controls (play is the same in Arabic), clocks or numbers.

Browse

Loading icons…

    Edit this page on GitHub (opens in a new tab)