hot-dog
lab
html
<script>
import { createIcons } from 'lucide';
import { hotDog } from '@lucide/lab';
createIcons({
icons: {
hotDog
}
});
</script>
<i data-lucide="hot-dog"></i>
tsx
import { Icon } from 'lucide-react';
import { hotDog } from '@lucide/lab';
const App = () => {
return (
<Icon iconNode={hotDog} />
);
};
export default App;
vue
<script setup>
import { Icon } from 'lucide-vue-next';
import { hotDog } from '@lucide/lab';
</script>
<template>
<Icon :iconNode="hotDog" />
</template>
svelte
<script>
import { Icon } from 'lucide-svelte';
import { hotDog } from '@lucide/lab';
</script>
<Icon iconNode={hotDog} />
tsx
import { Icon } from 'lucide-preact';
import { hotDog } from '@lucide/lab';
const App = () => {
return (
<Icon iconNode={hotDog} />
);
};
export default App;
tsx
import { Icon } from 'lucide-solid';
import { hotDog } from '@lucide/lab';
const App = () => {
return (
<Icon iconNode={hotDog} />
);
};
export default App;
tsx
// app.module.ts
import { LucideAngularModule } from 'lucide-angular';
import { hotDog } from '@lucide/lab';
@NgModule({
imports: [
LucideAngularModule.pick({ HotDog: hotDog })
],
})
// app.component.html
<lucide-icon name="HotDog"></lucide-icon>
看看这个图标的实际效果
错误
功能
Hot
112
8
11