Icons API

This page provides an overview of the Icons component API, detailing its props, emits, slots, and exposed methods/states.

Props

The Icons component accepts the following props:

PropDefaultTypeDescription
typeRequiredstringThe type of the icon to render.
class"h-5 w-5 text-gray-400 dark:text-gray-600""h-5 w-5 text-gray-400 dark:text-gray-600" or StyleClass or undefinedCustom CSS class for the icon.
styleundefinedCSSProperties or undefinedCustom inline styles for the icon.

Emits

The Icons component does not emit any events.

Slots

The Icons component does not provide any slots.

Expose

The Icons component exposes the following methods and states via ref:

ExposeValueDescription
typeIconsProps["type"]The current type of the icon.
classIconIconsProps["class"]The current CSS class applied to the icon.
styleIconsProps["style"]The current inline styles applied to the icon.
© 2025 FishtVue by Egoka