Componentdata1.21 KB gzipZero dependencies
Board Checklist
Task checklist: checkboxes, assignee, priority badges and progress bar.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add board-checklistOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { BoardChecklist } from "@/components/ui/board-checklist"; <BoardChecklist />Source code
board-checklist.tsx + 1 helperZero third-party dependencies (2 local files shown in tabs below).
tsxboard-checklist.tsx87 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface TaskItem { id: string; label: string; done?: boolean; assignee?: string; priority?: "low" | "med" | "high";} export interface BoardChecklistProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onToggle"> { title?: string; items: TaskItem[]; onToggle?: (id: string) => void;}Props
Interactive Prop Playground
Tweak parsed AST props below to generate ready-to-paste JSX.
tsx3 lines
import { BoardChecklist } from "@/components/ui/board-checklist"; <BoardChecklist />| Prop | Type | Description |
|---|---|---|
| title | string | Primary heading or title text. (Default: "Tasks") |
| items | TaskItem[] | Structured list of items rendered by the component. (Default: []) |
| onToggle | (id: string) => void | Callback invoked on toggle. |