mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 11:47:55 +01:00
docs(icon): update
This commit is contained in:
@@ -13,15 +13,14 @@ links:
|
|||||||
|
|
||||||
You can use any name from the https://icones.js.org collection such as the `i-` prefix:
|
You can use any name from the https://icones.js.org collection such as the `i-` prefix:
|
||||||
|
|
||||||
::component-card
|
::component-code
|
||||||
---
|
---
|
||||||
baseProps:
|
|
||||||
class: 'w-5 h-5'
|
|
||||||
props:
|
props:
|
||||||
name: 'i-heroicons-light-bulb'
|
name: 'i-heroicons-light-bulb'
|
||||||
|
class: 'w-5 h-5'
|
||||||
---
|
---
|
||||||
::
|
::
|
||||||
|
|
||||||
::callout{icon="i-heroicons-light-bulb"}
|
::tip
|
||||||
It's highly recommended to install the icons collections you need, read more about this in [Theming](/getting-started/theming#icons).
|
It's highly recommended to install the icons collections you need, read more about this in [Theming](/getting-started/theming#icons).
|
||||||
::
|
::
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ export default defineNuxtConfig({
|
|||||||
const globals = components.filter(c => [
|
const globals = components.filter(c => [
|
||||||
'UBadge',
|
'UBadge',
|
||||||
'UButton',
|
'UButton',
|
||||||
|
'UIcon',
|
||||||
'UKbd',
|
'UKbd',
|
||||||
'ULink'
|
'ULink'
|
||||||
].includes(c.pascalName))
|
].includes(c.pascalName))
|
||||||
|
|||||||
Reference in New Issue
Block a user