Skip to content
GetUrUI

Task cards

3 variantsNewPro
.md

Three task cards — subtask checklist, board card with status menu, and focus timer — with drawn ticks, lifting cards, fanning avatars and rolling digits.

tasktodokanbanchecklistpomodorotimerprojectproductivity

Subtasks

subtasks.tsx

Checklist with drawn ticks and strike-throughs, a springing progress bar and inline add.

$npx shadcn@latest add @geturui-pro/task-cards-subtasks
PropTypeDefaultDescription
project / title / duestring—Task header.
defaultSubtasksSubtask[]—{ id, title, done }.
onChange(subtasks: Subtask[]) => void—Called after every change.
classNamestring—Extra classes on the card.

Board card

kanban.tsx

Board card that lifts on hover, fans its assignees and moves between columns from a status menu.

$npx shadcn@latest add @geturui-pro/task-cards-kanban
PropTypeDefaultDescription
id / title / descriptionstring—Card content.
labelsstring[]—Neutral label chips.
priority"low" | "medium" | "high""high"Priority with icon and word.
due / dueSoonstring / boolean—Due chip and its at-risk state.
assignees{ name: string; initials: string }[]—Avatar stack.
comments / attachmentsnumber—Footer counts.
defaultStatus / onStatusChangeTaskStatus / (s: TaskStatus) => void—"todo" | "progress" | "review" | "done".
classNamestring—Extra classes on the card.

Focus timer

focus.tsx

Pomodoro card for one task with a ticking ring, rolling digits, focus and break modes and session dots.

$npx shadcn@latest add @geturui-pro/task-cards-focus
PropTypeDefaultDescription
task / projectstring—What is being focused on.
focusMinutes / breakMinutesnumber25 / 5Mode lengths.
sessions / defaultCompletednumber4 / 2Session dots.
onSessionComplete(mode: "focus" | "break") => void—Called when a countdown ends.
classNamestring—Extra classes on the card.

Install the whole set

Installs every task cards variant at once. Each section above has its own command for a single variant.

Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.

$npx shadcn@latest add @geturui-pro/task-cards

Accessibility

  • Subtasks are native checkboxes behind custom ticks; the status menu supports arrows, Escape and returns focus.
  • Priority and due chips pair colour with an icon and a word.
  • The timer exposes a timer role with the remaining time, and reduced motion removes digit rolls and lifts.

Related