ICONYZ
Français
Icône Ticket de Majesticons

Icône Ticket

majesticons:ticket

L'icône Ticket (majesticons:ticket) est une icône SVG gratuite de la collection Majesticons par Gerrit Halfmann. Elle est dessinée sur une grille de 24 × 24. Les Majesticons 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
Majesticons
Auteur
Gerrit Halfmann
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="currentColor" fill-rule="evenodd" d="M4 4h12a1 1 0 1 0 2 0h2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-2a1 1 0 1 0-2 0H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m14 4.001a1 1 0 1 1-2 0V8a1 1 0 1 1 2 0zm-1 5a1 1 0 0 0 1-1V12a1 1 0 1 0-2 0v.001a1 1 0 0 0 1 1m1 3a1 1 0 1 1-2 0V16a1 1 0 1 1 2 0z" clip-rule="evenodd"/></svg>

Comment utiliser l'icône Ticket

React

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

<Icon icon="majesticons:ticket" width="24" />

Vue

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

<template>
  <Icon icon="majesticons:ticket" width="24" />
</template>

Svelte

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

<Icon icon="majesticons:ticket" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="majesticons:ticket"></iconify-icon>

Image HTML

<img src="https://iconyz.com/api/public/svg/majesticons/ticket.svg" alt="Icône Ticket" width="24" height="24">

Icônes similaires dans Majesticons

L'icône Ticket dans d'autres collections

FAQ : Icône Ticket

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

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

Comment utiliser l'icône Ticket dans React ?

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

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

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

Voir toutes les Majesticons →