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