Skip to content

Icon API

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

Import

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

Props

NameTypeDefaultDescription
nameIconName-The filename of the icon that should be displayed
denseboolean-
idstring '() => uniqueId(ll-icon-)'
sizeIconSizestandardThe size of the icon Options: large (32x32px), default (24x24px), dense (20x20px), small (14x14px).
smallboolean-` * @deprecated Use the `size` prop with value "small" instead
staticPathstring '' Icon's custom static path. It'll default to either the staticPath defined on the library installation or '/static' if none are provided.
titlestring '' Accessible, short-text description for the icon. Not rendered as part of the graphic, but browsers usually display it as a tooltip and screen readers use this.

Slots

None

Events

None