EnIcon
Usage
EnIcon is the Vue wrapper for the EN icon font: it renders the glyph named by its icon prop (as an icon-{name} CSS class). The icon control below always lists the complete, current font — the same set documented with its CSS-class usage under Icons in the styleguide.
Looking for benefit category icons?
Benefit category imagery (medical, dental, vision, …) is a separate curated SVG set — use EnBenefitIcon, not EnIcon. See Benefit Category Icons.
Preview
Props
| Name | Description | Default | Control |
|---|---|---|---|
| icon | Icon name. string | unknown | |
| size | Sets the font size of the icon. string | "sm" | |
| rounded | Makes the icon appear inside a circle, must add context to apply color. boolean | false | |
| context | Context that sets the icon color and background color if applicable. string | "primary" |
Slots
No slots defined.
Events
No events defined.
Methods
No methods defined.