Icon (图标)来自内置注册表的内联 SVG 图标 —— 绝不联网请求;继承文字颜色。仅限内置使用 lucide:check 这类内置名称。自定义图标用 @kungal/ui-core 的 registerKunIcon(s) 注册;未知名称会回退到注入的 iconComponent(Nuxt 层下为 @nuxt/icon)。基础用法Basic.vue查看代码复制代码<template> <KunIcon name="lucide:check" class="text-success text-2xl" /> <KunIcon name="lucide:info" class="text-primary text-2xl" /> <KunIcon name="lucide:triangle-alert" class="text-warning text-2xl" /> <KunIcon name="lucide:circle-x" class="text-danger text-2xl" /> <KunIcon name="svg-spinners:90-ring-with-bg" class="text-primary text-2xl" /> </template> 属性属性类型默认值说明classNamestring""namestring""