Foundations
Icons
RemixIcon 4.5.0, one set, drawn as a font and shipped with the system. Swapping one ri- name for another is the whole of adding an icon.
import { EcoIcon } from "vue-ecosphere"
Using EcoIcon
The glyph inherits colour and size from its parent, so an icon never carries its own colour rule: 16px in a btn, 14px in a btn--sm, 18px in an iconbtn, 38px in an empty__ico. Give an icon-only control an aria-label. Never inline an SVG for an icon.
Common names
A starting set. All 3,036 RemixIcon glyphs are available — select a tile to copy its name.
48 icons
API
| Name | Type | Default | Description |
|---|---|---|---|
name | string | — | Required. RemixIcon name without ri- (a full ri-… name also works). |
label | string | — | Accessible name. Omit for a decorative icon, which is then aria-hidden. |