ICONYZ
English
Star Four icon from Phosphor

Star Four icon

ph:star-four

The Star Four icon (ph:star-four) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Phosphor
Author
Phosphor Icons
License
MIT
Size
256 × 256
Tags
rate, ratings, favorites, favorited, starfour
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="m229.5 113l-63.44-23.06L143 26.5a16 16 0 0 0-30 0L89.94 89.94L26.5 113a16 16 0 0 0 0 30l63.44 23.07L113 229.5a16 16 0 0 0 30 0l23.07-63.44L229.5 143a16 16 0 0 0 0-30m-72.42 39.3a8 8 0 0 0-4.78 4.78L128 223.9l-24.3-66.82a8 8 0 0 0-4.78-4.78L32.1 128l66.82-24.3a8 8 0 0 0 4.78-4.78L128 32.1l24.3 66.82a8 8 0 0 0 4.78 4.78L223.9 128Z"/></svg>

How to use the Star Four icon

React

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

<Icon icon="ph:star-four" width="24" />

Vue

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

<template>
  <Icon icon="ph:star-four" width="24" />
</template>

Svelte

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

<Icon icon="ph:star-four" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="ph:star-four"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/star-four.svg" alt="Star Four icon" width="24" height="24">

Related icons in Phosphor

Star Four icon in other icon sets

Star Four icon FAQ

Is the Star Four icon free for commercial use?

Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Star Four icon in React?

Install @iconify/react and render <Icon icon="ph:star-four" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Star Four icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/star-four.svg" alt="Star Four icon">, or paste the SVG code inline to style it with CSS.

Browse all Phosphor icons →