mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +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:
|
||||
|
||||
::component-card
|
||||
::component-code
|
||||
---
|
||||
baseProps:
|
||||
class: 'w-5 h-5'
|
||||
props:
|
||||
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).
|
||||
::
|
||||
|
||||
@@ -120,6 +120,7 @@ export default defineNuxtConfig({
|
||||
const globals = components.filter(c => [
|
||||
'UBadge',
|
||||
'UButton',
|
||||
'UIcon',
|
||||
'UKbd',
|
||||
'ULink'
|
||||
].includes(c.pascalName))
|
||||
|
||||
Reference in New Issue
Block a user