MissionTier
Hover decoration requires a fine pointer and hover support at widths of 768px or more. Phone and touch controls keep tap actions and keyboard focus without rollover effects.
Star indicator with duotone stars and a localized label. The inline layout uses the Hunter accent; stacked tiers use tier-specific palette colors.
Playground
Live preview
Examples
Stars
Locked
Stacked · tier colors
Custom labels
Entry
Skilled
Veteran
Elite
Legendary
Clickable
clickable adds a pointer cursor and marks the root withdata-clickable; passonClick to handle the press. Disabled stays inert.
Code
import { MissionTier, formatStarLabel } from "@npolyhunter/ui";
// tier: renders that many star icons (duotone, hunter accent) + a localized star name
<MissionTier tier={3} />
// Custom label
<MissionTier tier={1} label="Entry" />
<MissionTier tier={5} label="Legendary" />
// Locked: keyhole lock icon (muted) + subtle text
<MissionTier tier={3} locked />
// Stacked: stars over the label, tier-specific color
<MissionTier tier={2} layout="stacked" />;Code
import { MissionTier, formatStarLabel } from "@npolyhunter/ui";
// tier: renders that many star icons (duotone, hunter accent) + a localized star name
<MissionTier tier={3} />
// Custom label
<MissionTier tier={1} label="Entry" />
<MissionTier tier={5} label="Legendary" />
// Locked: keyhole lock icon (muted) + subtle text
<MissionTier tier={3} locked />
// Stacked: stars over the label, tier-specific color
<MissionTier tier={2} layout="stacked" />;Used in
Includes use through shared UI components.
App
