palette
js
import { createIcons, icons } from 'lucide';
createIcons({ icons });
document.body.append('<i data-lucide="palette"></i>');
tsx
import { Palette } from 'lucide-react';
const App = () => {
return (
<Palette />
);
};
export default App;
vue
<script setup>
import { Palette } from 'lucide-vue-next';
</script>
<template>
<Palette />
</template>
svelte
<script>
import { Palette } from 'lucide-svelte';
</script>
<Palette />
tsx
import { Palette } from 'lucide-preact';
const App = () => {
return (
<Palette />
);
};
export default App;
tsx
import { Palette } from 'lucide-solid';
const App = () => {
return (
<Palette />
);
};
export default App;
tsx
// app.module.ts
import { LucideAngularModule, Palette } from 'lucide-angular';
@NgModule({
imports: [
LucideAngularModule.pick({ Palette })
],
})
// app.component.html
<lucide-icon name="palette"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>
<div class="icon-palette"></div>
See this icon in action
Bug
Feature
Palette
112
8
11