Iconify for Zed
Made with 💙 ZedBadge.dev 💙
Iconify icon name completion and hover previews, powered by iconify-lsp.
Icon string
<Icon icon="lucide:eye-off" />![]()
Variable
<script lang="ts">
const overlay = $derived(linked ? "lucide:link-2" : "lucide:arrow-up-right")
</script>
<Icon icon={overlay} />![]()
Values returned from functions are found too.
const overlay = $derived.by(() => {
if (item.link) {
return "lucide:link-2"
}
return isShortcut(item) ? "lucide:arrow-up-right" : null
})![]()
Settings
The first start downloads @iconify/json (about 100 MB). Icon sets installed in the project as @iconify-json/* or @iconify/json take priority.
{
"lsp": {
"iconify-lsp": {
"initialization_options": {
"color": "#ffffff"
}
}
}
}