Skip to content

star

bookmark • favorite • like • review • rating

Created:

v0.0.0

Last changed:

v0.454.0

Contributors:

colebemisjguddas
js
import { createIcons, icons } from 'lucide';

createIcons({ icons });

document.body.append('<i data-lucide="star"></i>');  
tsx
import { Star } from 'lucide-react';

const App = () => {
  return (
    <Star />
  );
};

export default App;
vue
<script setup>
import { Star } from 'lucide-vue-next';
</script>

<template>
  <Star />
</template>
svelte
<script>
import { Star } from 'lucide-svelte';
</script>

<Star />
tsx
import { Star } from 'lucide-preact';

const App = () => {
  return (
    <Star />
  );
};

export default App;
tsx
import { Star } from 'lucide-solid';

const App = () => {
  return (
    <Star />
  );
};

export default App;
tsx
// app.module.ts
import { LucideAngularModule, Star } from 'lucide-angular';

@NgModule({
  imports: [
    LucideAngularModule.pick({ Star })
  ],
})

// app.component.html
<lucide-icon name="star"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>

<div class="icon-star"></div>

See this icon in action

Bug
Feature
Star
112
8
11