A compact week scrubber: Today, the week with a step either side, the full slider on hover or focus, and Play (a week a second).
Part of High Command Pro. The preview and props are open to everyone; installing it needs your license key. Set up your key · Pricing
$ npx shadcn@latest add @highcommand/week-cursorCopies the source into your project and pulls in what it needs (4 other items). First time? Add the registry to components.json.
A week cursor, compact in a toolbar: Today, the week with a step either side, Play (a week a second).
weeksrequiredreadonly CursorWeek[]—the horizon's weeks, this week first
weekrequirednumber—the cursor, 1-based (1 = this week)
onWeekrequired(w: number) => void—Fires with the new 1-based week when the cursor is stepped, scrubbed or sent back to this week.
playingrequiredboolean—playing forward a week a second (the caller advances `week`, e.g. with playNext)
onPlayrequired(p: boolean) => void—Fires with the new playing state when Play or Pause is pressed, and with false when the cursor is moved by hand.
classNamestring—Extra class names for the bar.