# star icon

Star. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/star

- Category: Social & emotions
- Use it for: favorite, rating, favourite, favorites, starred, rate, ratings
- Tags: favourite, rate, bookmark, starred
- Family: star-half, star-off
- Component name: StarIcon
- Added: 2026-10-14

## Alternatives

- `heart`: favorite, where the product uses hearts
- `star-half`: a partial rating display

## Don't confuse with

- `bookmark`: bookmark saves for later; it is not a favorite

## Also fits

- likert scale: a star rating (rating)
- bookmark: favorite
- top rated: a rating value

## Not for

- ai (use `sparkles`): the star motif means favorite or rating, not AI
- award (use `award`): star means favorite or rating
- mark (use `flag`): favorite
- meteor (use `meteor`): star owns favorite and rating
- featured (use `seal-star`): the star motif does not mean featured
- asterisk (use `asterisk`): star means favorite or rating

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/star.svg · PNG https://gentleface.com/png/line-round/16/star.png · https://gentleface.com/png/line-round/32/star.png · https://gentleface.com/png/line-round/48/star.png
- line-soft: https://gentleface.com/svg/line-soft/16/star.svg · PNG https://gentleface.com/png/line-soft/16/star.png · https://gentleface.com/png/line-soft/32/star.png · https://gentleface.com/png/line-soft/48/star.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/star.svg · PNG https://gentleface.com/png/line-sharp/16/star.png · https://gentleface.com/png/line-sharp/32/star.png · https://gentleface.com/png/line-sharp/48/star.png
- solid-round: https://gentleface.com/svg/solid-round/16/star.svg · PNG https://gentleface.com/png/solid-round/16/star.png · https://gentleface.com/png/solid-round/32/star.png · https://gentleface.com/png/solid-round/48/star.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/star.svg · PNG https://gentleface.com/png/solid-soft/16/star.png · https://gentleface.com/png/solid-soft/32/star.png · https://gentleface.com/png/solid-soft/48/star.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/star.svg · PNG https://gentleface.com/png/solid-sharp/16/star.png · https://gentleface.com/png/solid-sharp/32/star.png · https://gentleface.com/png/solid-sharp/48/star.png

The SVG of every style: https://gentleface.com/icons/star.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.653 13.942 6.78 13.825 6.88L10.56 9.679L11.485 13.379C11.519 13.513 11.5 13.639 11.429 13.757C11.358 13.876 11.255 13.952 11.121 13.985C10.972 14.022 10.835 13.996 10.709 13.907L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144ZM6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L10.186 12.304L9.59 9.921C9.544 9.737 9.55 9.555 9.607 9.375C9.665 9.194 9.765 9.043 9.909 8.919L12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351Z"/></svg>
```

### React

```tsx
// Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star
import type { SVGProps } from 'react';

export function StarIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.653 13.942 6.78 13.825 6.88L10.56 9.679L11.485 13.379C11.519 13.513 11.5 13.639 11.429 13.757C11.358 13.876 11.255 13.952 11.121 13.985C10.972 14.022 10.835 13.996 10.709 13.907L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144ZM6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L10.186 12.304L9.59 9.921C9.544 9.737 9.55 9.555 9.607 9.375C9.665 9.194 9.765 9.043 9.909 8.919L12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.653 13.942 6.78 13.825 6.88L10.56 9.679L11.485 13.379C11.519 13.513 11.5 13.639 11.429 13.757C11.358 13.876 11.255 13.952 11.121 13.985C10.972 14.022 10.835 13.996 10.709 13.907L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144ZM6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L10.186 12.304L9.59 9.921C9.544 9.737 9.55 9.555 9.607 9.375C9.665 9.194 9.765 9.043 9.909 8.919L12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.653 13.942 6.78 13.825 6.88L10.56 9.679L11.485 13.379C11.519 13.513 11.5 13.639 11.429 13.757C11.358 13.876 11.255 13.952 11.121 13.985C10.972 14.022 10.835 13.996 10.709 13.907L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144ZM6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L10.186 12.304L9.59 9.921C9.544 9.737 9.55 9.555 9.607 9.375C9.665 9.194 9.765 9.043 9.909 8.919L12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/star.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star. Takes the text color. */
.icon-star {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.653 13.942 6.78 13.825 6.88L10.56 9.679L11.485 13.379C11.519 13.513 11.5 13.639 11.429 13.757C11.358 13.876 11.255 13.952 11.121 13.985C10.972 14.022 10.835 13.996 10.709 13.907L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144ZM6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L10.186 12.304L9.59 9.921C9.544 9.737 9.55 9.555 9.607 9.375C9.665 9.194 9.765 9.043 9.909 8.919L12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.653 13.942 6.78 13.825 6.88L10.56 9.679L11.485 13.379C11.519 13.513 11.5 13.639 11.429 13.757C11.358 13.876 11.255 13.952 11.121 13.985C10.972 14.022 10.835 13.996 10.709 13.907L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144ZM6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L10.186 12.304L9.59 9.921C9.544 9.737 9.55 9.555 9.607 9.375C9.665 9.194 9.765 9.043 9.909 8.919L12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.653 13.942 6.78 13.825 6.88L10.56 9.679L11.485 13.379C11.519 13.513 11.5 13.639 11.429 13.757C11.358 13.876 11.255 13.952 11.121 13.985C10.972 14.022 10.835 13.996 10.709 13.907L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144ZM6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L10.186 12.304L9.59 9.921C9.544 9.737 9.55 9.555 9.607 9.375C9.665 9.194 9.765 9.043 9.909 8.919L12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#star"/></svg>
```

### SwiftUI

```swift
// Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star
import SwiftUI

struct StarIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 13.856, y: 6.144))
        p.addCurve(to: CGPoint(x: 14, y: 6.5), control1: CGPoint(x: 13.952, y: 6.241), control2: CGPoint(x: 14, y: 6.359))
        p.addCurve(to: CGPoint(x: 13.825, y: 6.88), control1: CGPoint(x: 14, y: 6.653), control2: CGPoint(x: 13.942, y: 6.78))
        p.addLine(to: CGPoint(x: 10.56, y: 9.679))
        p.addLine(to: CGPoint(x: 11.485, y: 13.379))
        p.addCurve(to: CGPoint(x: 11.429, y: 13.757), control1: CGPoint(x: 11.519, y: 13.513), control2: CGPoint(x: 11.5, y: 13.639))
        p.addCurve(to: CGPoint(x: 11.121, y: 13.985), control1: CGPoint(x: 11.358, y: 13.876), control2: CGPoint(x: 11.255, y: 13.952))
        p.addCurve(to: CGPoint(x: 10.709, y: 13.907), control1: CGPoint(x: 10.972, y: 14.022), control2: CGPoint(x: 10.835, y: 13.996))
        p.addLine(to: CGPoint(x: 7.5, y: 11.614))
        p.addLine(to: CGPoint(x: 4.291, y: 13.907))
        p.addCurve(to: CGPoint(x: 3.918, y: 13.993), control1: CGPoint(x: 4.178, y: 13.987), control2: CGPoint(x: 4.054, y: 14.016))
        p.addCurve(to: CGPoint(x: 3.593, y: 13.791), control1: CGPoint(x: 3.782, y: 13.97), control2: CGPoint(x: 3.673, y: 13.903))
        p.addCurve(to: CGPoint(x: 3.515, y: 13.379), control1: CGPoint(x: 3.504, y: 13.665), control2: CGPoint(x: 3.478, y: 13.528))
        p.addLine(to: CGPoint(x: 4.44, y: 9.679))
        p.addLine(to: CGPoint(x: 1.175, y: 6.88))
        p.addCurve(to: CGPoint(x: 1.001, y: 6.538), control1: CGPoint(x: 1.07, y: 6.79), control2: CGPoint(x: 1.012, y: 6.676))
        p.addCurve(to: CGPoint(x: 1.12, y: 6.175), control1: CGPoint(x: 0.991, y: 6.401), control2: CGPoint(x: 1.031, y: 6.279))
        p.addCurve(to: CGPoint(x: 1.5, y: 6), control1: CGPoint(x: 1.22, y: 6.058), control2: CGPoint(x: 1.347, y: 6))
        p.addLine(to: CGPoint(x: 5.653, y: 6))
        p.addLine(to: CGPoint(x: 7.032, y: 2.324))
        p.addCurve(to: CGPoint(x: 7.293, y: 2.045), control1: CGPoint(x: 7.08, y: 2.195), control2: CGPoint(x: 7.167, y: 2.102))
        p.addCurve(to: CGPoint(x: 7.676, y: 2.032), control1: CGPoint(x: 7.419, y: 1.988), control2: CGPoint(x: 7.546, y: 1.983))
        p.addCurve(to: CGPoint(x: 7.968, y: 2.324), control1: CGPoint(x: 7.817, y: 2.085), control2: CGPoint(x: 7.915, y: 2.183))
        p.addLine(to: CGPoint(x: 9.347, y: 6))
        p.addLine(to: CGPoint(x: 13.5, y: 6))
        p.addCurve(to: CGPoint(x: 13.856, y: 6.144), control1: CGPoint(x: 13.641, y: 6), control2: CGPoint(x: 13.759, y: 6.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.59, y: 6.351))
        p.addCurve(to: CGPoint(x: 6.223, y: 6.822), control1: CGPoint(x: 6.517, y: 6.546), control2: CGPoint(x: 6.394, y: 6.703))
        p.addCurve(to: CGPoint(x: 5.653, y: 7), control1: CGPoint(x: 6.052, y: 6.941), control2: CGPoint(x: 5.862, y: 7))
        p.addLine(to: CGPoint(x: 2.852, y: 7))
        p.addLine(to: CGPoint(x: 5.091, y: 8.919))
        p.addCurve(to: CGPoint(x: 5.393, y: 9.375), control1: CGPoint(x: 5.235, y: 9.043), control2: CGPoint(x: 5.335, y: 9.194))
        p.addCurve(to: CGPoint(x: 5.41, y: 9.921), control1: CGPoint(x: 5.45, y: 9.555), control2: CGPoint(x: 5.456, y: 9.737))
        p.addLine(to: CGPoint(x: 4.814, y: 12.304))
        p.addLine(to: CGPoint(x: 6.919, y: 10.801))
        p.addCurve(to: CGPoint(x: 7.5, y: 10.614), control1: CGPoint(x: 7.093, y: 10.677), control2: CGPoint(x: 7.286, y: 10.614))
        p.addCurve(to: CGPoint(x: 8.081, y: 10.801), control1: CGPoint(x: 7.714, y: 10.614), control2: CGPoint(x: 7.907, y: 10.677))
        p.addLine(to: CGPoint(x: 10.186, y: 12.304))
        p.addLine(to: CGPoint(x: 9.59, y: 9.921))
        p.addCurve(to: CGPoint(x: 9.607, y: 9.375), control1: CGPoint(x: 9.544, y: 9.737), control2: CGPoint(x: 9.55, y: 9.555))
        p.addCurve(to: CGPoint(x: 9.909, y: 8.919), control1: CGPoint(x: 9.665, y: 9.194), control2: CGPoint(x: 9.765, y: 9.043))
        p.addLine(to: CGPoint(x: 12.148, y: 7))
        p.addLine(to: CGPoint(x: 9.347, y: 7))
        p.addCurve(to: CGPoint(x: 8.777, y: 6.822), control1: CGPoint(x: 9.138, y: 7), control2: CGPoint(x: 8.948, y: 6.941))
        p.addCurve(to: CGPoint(x: 8.41, y: 6.351), control1: CGPoint(x: 8.606, y: 6.703), control2: CGPoint(x: 8.483, y: 6.546))
        p.addLine(to: CGPoint(x: 7.5, y: 3.924))
        p.addLine(to: CGPoint(x: 6.59, y: 6.351))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// StarIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val StarIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "star", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.653 13.942 6.78 13.825 6.88L10.56 9.679L11.485 13.379C11.519 13.513 11.5 13.639 11.429 13.757C11.358 13.876 11.255 13.952 11.121 13.985C10.972 14.022 10.835 13.996 10.709 13.907L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144ZM6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L10.186 12.304L9.59 9.921C9.544 9.737 9.55 9.555 9.607 9.375C9.665 9.194 9.765 9.043 9.909 8.919L12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(StarIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_star.xml · Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.653 13.942 6.78 13.825 6.88L10.56 9.679L11.485 13.379C11.519 13.513 11.5 13.639 11.429 13.757C11.358 13.876 11.255 13.952 11.121 13.985C10.972 14.022 10.835 13.996 10.709 13.907L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144ZM6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L10.186 12.304L9.59 9.921C9.544 9.737 9.55 9.555 9.607 9.375C9.665 9.194 9.765 9.043 9.909 8.919L12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "star" (line-round), MIT. https://gentleface.com/icons/star
import 'package:flutter/widgets.dart';

class StarIcon extends StatelessWidget {
  const StarIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _StarIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _StarIconPainter extends CustomPainter {
  _StarIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(13.856, 6.144)
      ..cubicTo(13.952, 6.241, 14, 6.359, 14, 6.5)
      ..cubicTo(14, 6.653, 13.942, 6.78, 13.825, 6.88)
      ..lineTo(10.56, 9.679)
      ..lineTo(11.485, 13.379)
      ..cubicTo(11.519, 13.513, 11.5, 13.639, 11.429, 13.757)
      ..cubicTo(11.358, 13.876, 11.255, 13.952, 11.121, 13.985)
      ..cubicTo(10.972, 14.022, 10.835, 13.996, 10.709, 13.907)
      ..lineTo(7.5, 11.614)
      ..lineTo(4.291, 13.907)
      ..cubicTo(4.178, 13.987, 4.054, 14.016, 3.918, 13.993)
      ..cubicTo(3.782, 13.97, 3.673, 13.903, 3.593, 13.791)
      ..cubicTo(3.504, 13.665, 3.478, 13.528, 3.515, 13.379)
      ..lineTo(4.44, 9.679)
      ..lineTo(1.175, 6.88)
      ..cubicTo(1.07, 6.79, 1.012, 6.676, 1.001, 6.538)
      ..cubicTo(0.991, 6.401, 1.031, 6.279, 1.12, 6.175)
      ..cubicTo(1.22, 6.058, 1.347, 6, 1.5, 6)
      ..lineTo(5.653, 6)
      ..lineTo(7.032, 2.324)
      ..cubicTo(7.08, 2.195, 7.167, 2.102, 7.293, 2.045)
      ..cubicTo(7.419, 1.988, 7.546, 1.983, 7.676, 2.032)
      ..cubicTo(7.817, 2.085, 7.915, 2.183, 7.968, 2.324)
      ..lineTo(9.347, 6)
      ..lineTo(13.5, 6)
      ..cubicTo(13.641, 6, 13.759, 6.048, 13.856, 6.144)
      ..close()
      ..moveTo(6.59, 6.351)
      ..cubicTo(6.517, 6.546, 6.394, 6.703, 6.223, 6.822)
      ..cubicTo(6.052, 6.941, 5.862, 7, 5.653, 7)
      ..lineTo(2.852, 7)
      ..lineTo(5.091, 8.919)
      ..cubicTo(5.235, 9.043, 5.335, 9.194, 5.393, 9.375)
      ..cubicTo(5.45, 9.555, 5.456, 9.737, 5.41, 9.921)
      ..lineTo(4.814, 12.304)
      ..lineTo(6.919, 10.801)
      ..cubicTo(7.093, 10.677, 7.286, 10.614, 7.5, 10.614)
      ..cubicTo(7.714, 10.614, 7.907, 10.677, 8.081, 10.801)
      ..lineTo(10.186, 12.304)
      ..lineTo(9.59, 9.921)
      ..cubicTo(9.544, 9.737, 9.55, 9.555, 9.607, 9.375)
      ..cubicTo(9.665, 9.194, 9.765, 9.043, 9.909, 8.919)
      ..lineTo(12.148, 7)
      ..lineTo(9.347, 7)
      ..cubicTo(9.138, 7, 8.948, 6.941, 8.777, 6.822)
      ..cubicTo(8.606, 6.703, 8.483, 6.546, 8.41, 6.351)
      ..lineTo(7.5, 3.924)
      ..lineTo(6.59, 6.351)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_StarIconPainter old) => old.color != color;
}
```
