Componentdata1.21 KB gzipZero dependencies

Board Checklist

Task checklist: checkboxes, assignee, priority badges and progress bar.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add board-checklist

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { BoardChecklist } from "@/components/ui/board-checklist"; <BoardChecklist />

Source code

board-checklist.tsx + 1 helper

Zero 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 />
PropTypeDescription
titlestringPrimary heading or title text. (Default: "Tasks")
itemsTaskItem[]Structured list of items rendered by the component. (Default: [])
onToggle(id: string) => voidCallback invoked on toggle.