PolyHunter

MissionRoundMarker

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.

Round step marker for instructions. Shows the step number, or a check when completed, with locked and disabled states.

Playground

Live preview

Examples

States

Instruction sequence

Steps

Code

import { MissionRoundMarker } from "@npolyhunter/ui";

// Step number in a 28px circle
<MissionRoundMarker step={1} />

// States: "default" | "locked" | "completed" (completed shows a check)
<MissionRoundMarker step={2} state="locked" />
<MissionRoundMarker step={3} state="completed" />

// Typical instructions sequence
<div className="flex items-center gap-2">
  <MissionRoundMarker step={1} state="completed" />
  <MissionRoundMarker step={2} />
  <MissionRoundMarker step={3} state="locked" />
</div>

// Disabled
<MissionRoundMarker step={4} disabled />;

Code

import { MissionRoundMarker } from "@npolyhunter/ui";

// Step number in a 28px circle
<MissionRoundMarker step={1} />

// States: "default" | "locked" | "completed" (completed shows a check)
<MissionRoundMarker step={2} state="locked" />
<MissionRoundMarker step={3} state="completed" />

// Typical instructions sequence
<div className="flex items-center gap-2">
  <MissionRoundMarker step={1} state="completed" />
  <MissionRoundMarker step={2} />
  <MissionRoundMarker step={3} state="locked" />
</div>

// Disabled
<MissionRoundMarker step={4} disabled />;

Used in

Includes use through shared UI components.

AppBack Office