Files
ui/docs/content/2.elements/6.icon.md
Benjamin Canac 31d571abb5 docs: migrate to @nuxthq/ui-kit (#405)
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2023-07-17 14:49:50 +02:00

552 B

description, links
description links
Display an icon from Iconify library.
label icon to
GitHub i-simple-icons-github https://github.com/nuxtlabs/ui/blob/dev/src/runtime/components/elements/Icon.vue

Usage

::component-card

props: name: 'i-heroicons-light-bulb'

::

::callout{icon="i-heroicons-exclamation-triangle"} When playing with the name prop above, you won't be able to use any icon you want as icons are bundled on build as explained in the theming section. ::

Props

:component-props