ICONYZ
Français
Icône Star de Feather Icons

Icône Star

feather:star

L'icône Star (feather:star) est une icône SVG gratuite de la collection Feather Icons par Cole Bemis. Elle est dessinée sur une grille de 24 × 24. Les Feather Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux. Copiez-la en code SVG, JSX, Vue ou Svelte, ou téléchargez le fichier SVG.

Collection
Feather Icons
Auteur
Cole Bemis
Licence
MIT
Taille
24 × 24
Télécharger le SVG

Code SVG

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m12 2l3.09 6.26L22 9.27l-5 4.87l1.18 6.88L12 17.77l-6.18 3.25L7 14.14L2 9.27l6.91-1.01z"/></svg>

Comment utiliser l'icône Star

React

import { Icon } from "@iconify/react";

<Icon icon="feather:star" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="feather:star" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="feather:star" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[feather--star]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/feather -->
<div class="i-feather:star"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="feather:star"></iconify-icon>

Image HTML

<img src="https://iconyz.com/api/public/svg/feather/star.svg" alt="Icône Star" width="24" height="24">

L'icône Star dans d'autres collections

FAQ : Icône Star

L'icône Star est-elle gratuite pour un usage commercial ?

Oui. Les Feather Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.

Comment utiliser l'icône Star dans React ?

Installez @iconify/react et affichez <Icon icon="feather:star" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.

Comment ajouter l'icône Star à une page web ?

Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/feather/star.svg" alt="Icône Star">, ou collez le code SVG directement dans la page pour le styliser en CSS.

Voir toutes les Feather Icons →