Skip to content

Commit 83277b9

Browse files
committed
storybook: Update README to use iconify class style
1 parent 92f0525 commit 83277b9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.storybook/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,18 +211,17 @@ This Storybook setup includes:
211211

212212
## Icon Usage in Storybook
213213

214-
In this project, the `<i class="icon-[lucide--folder]" />` syntax from unplugin-icons is not supported in Storybook.
214+
In this project, only the `<i class="icon-[lucide--folder]" />` syntax from unplugin-icons is supported in Storybook.
215215

216216
**Example:**
217217

218218
```vue
219219
<script setup lang="ts">
220-
import { Trophy, Settings } from 'lucide-vue-next'
221220
</script>
222221
223222
<template>
224-
<Trophy :size="16" class="text-neutral" />
225-
<Settings :size="16" class="text-neutral" />
223+
<i class="icon-[lucide--trophy] text-neutral size-4" />
224+
<i class="icon-[lucide--settings] text-neutral size-4" />
226225
</template>
227226
```
228227

0 commit comments

Comments
 (0)