Star Icon

star · Like · 6 styles

Solar Icons catalogues Star under Like. It is one of 17 glyphs in that category and one of 1,246 icons in the library overall, each drawn on the same 24x24 grid so Star lines up optically with everything around it. The icon is addressed in templates by the string "star", and every style variant resolves from that single name.

Semantically the glyph carries ratings and favourites. That places Star in the Like family, which covers approval, favourites and hearts and turns up in like buttons, wishlists, rating rows and saved-item badges. Teams building social feeds and shopping products reach for this set first. Use Star where the label alone would be ambiguous — an icon-only button, a dense table row, a mobile tab bar — and keep an accessible name on the control, because the SVG itself is decorative.

Star in 6 styles

Star comes rendered in 6 style variants: Bold, Bold Duotone, Linear, Outline, Broken and Line Duotone. Bold gives you solid filled shapes that hold their weight at 16px and read clearly against coloured backgrounds. Bold Duotone gives you a filled body with a second, lower-opacity layer that adds depth without a second colour token. Linear gives you even 1.5px strokes, the neutral default for dense interfaces and toolbars. A common pairing is Bold for the selected state and Line Duotone for the rest, so the active item reads without a colour change.

BoldStarBold
Bold DuotoneStarBoldDuotone
LinearStarLinear
OutlineStarOutline
BrokenStarBroken
Line DuotoneStarLineDuotone

How to use the star icon in Angular

Nothing is registered globally by default, so the import list is the bundle. Import StarBold from the "@rchernando/solar-icons/like" entry point, hand it to provideSolarIcons in your application config or in a route-level providers array, and render it with the solar-icon component. All 6 exports for star live in that same entry point, so switching style is a one-line change.

typescript
import { StarBold, StarBoldDuotone, StarLinear, StarOutline, StarBroken, StarLineDuotone } from '@rchernando/solar-icons/like';
typescript
import { ApplicationConfig } from '@angular/core';
import { provideSolarIcons } from '@rchernando/solar-icons';
import { StarBold } from '@rchernando/solar-icons/like';

export const appConfig: ApplicationConfig = {
  providers: [provideSolarIcons(StarBold)]
};
html
<solar-icon name="star" iconStyle="bold" size="24px" />
<solar-icon name="star" iconStyle="bold-duotone" size="24px" />
<solar-icon name="star" iconStyle="linear" size="24px" />
<solar-icon name="star" iconStyle="outline" size="24px" />
<solar-icon name="star" iconStyle="broken" size="24px" />
<solar-icon name="star" iconStyle="line-duotone" size="24px" />

More Like icons

Icons drawn alongside it in Like include Medal Star Square, Medal Star Circle, Medal Star, Medal Ribbons Star, Medal Ribbon Star, Medal Ribbon, Like and Hearts. They share stroke weight and corner radius with Star, so mixing them in one toolbar stays consistent.

Browse all Like icons →

Icons related to Star

If Star is not quite the shape you want, Crown Star, Cup Star, Folder Favourite Star, Medal Ribbon Star and Medal Ribbons Star share part of its name and often work as substitutes.

Elsewhere in the library

Across the rest of the set, Clock Square, Scale, Cloud Waterdrop, Share, Confounded Square and Sidebar Minimalistic cover neighbouring ideas; the name "star" is 4 characters long and splits into 1 token, which is how the explorer's search matches it.

Star icon FAQ

How do I use the star icon in Angular?
Import StarBold from "@rchernando/solar-icons/like", register it with provideSolarIcons(StarBold) and render <solar-icon name="star" iconStyle="bold" />. No HTTP request is made — the SVG is inlined at build time.
Which styles does Star support?
6 of them: Bold, Bold Duotone, Linear, Outline, Broken and Line Duotone. Each is a separate export, so you only ship the ones you import.
Can I change the size and colour of star?
Yes. The size input accepts any CSS length and the SVG uses currentColor, so Star inherits the text colour of its container — a Tailwind class such as text-violet-400 is enough.

One of 1,246 icons in the Solar Icons explorer. See also the installation guide and the styling reference.