Skip to content

IconLabel API

API reference docs for the Stash IconLabel component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import IconLabel from '@leaflink/stash/IconLabel.vue';

Props

NameTypeDefaultDescription
iconIconName-Name of the icon to use. All design system icons are supported.
colorStashCommonColorundefinedColor to apply to the icon. Common Stash colors are supported (100, 500, & 700 shades).
hrefstringundefinedValid hyperlink.
stackedbooleanfalseIf true, renders the label below the icon instead of to the right
tostring | objectundefinedValid vue-router route.
truncatebooleanfalseIf true, truncates overflowing text with an ellipsis when it's unable to wrap

Slots

NameDescription
defaultLabel text

Events

None