Skip to content

StarIcon

const StarIcon: NamedExoticComponent<Omit<{ children: ReactNode; className?: string; color?: IconColor; decorative?: boolean; ref?: Ref<SVGSVGElement>; size?: IconSize; testId?: string; title?: string; }, "children">>

Defined in: src/components/Icons/StarIcon.tsx:28

Star icon component for favorites and ratings.

A standard star icon commonly used for favorites, bookmarks, ratings, and highlighting important content in editor interfaces.

Example

// Basic usage
<StarIcon />
// With custom size and color
<StarIcon size="lg" color="warning" />
// In a favorites context
<Button icon={<StarIcon />}>Favorite</Button>