Icons
Central Icons in two stroke geometries, sized for Nyte controls
Nyte draws every glyph from Central Icons. Two packages are installed under different aliases.
| Alias | Package | Used by |
|---|---|---|
central-icons | @central-icons-react/round-outlined-radius-1-stroke-1.5 | @nyte-ai/ui, docs |
central-icons-desktop | @central-icons-react/round-outlined-radius-2-stroke-1.5 | desktop |
Both are round-outlined at stroke 1.5, and the desktop set has the larger corner radius. Do not mix
the two sets on one surface. Central Icons needs a license key at install time
(CENTRAL_LICENSE_KEY).
Usage
import { IconPlusSmall } from "central-icons";
<Button size="icon-sm" aria-label="Add">
<IconPlusSmall size={14} />
</Button>;- Give an icon-only control an
aria-label. The glyph is decorative. - Hide decorative icons beside text from assistive tech.
- Sizes are 12 or 14 inside controls.