Patterns
BulkActionToolbar
Data table with checkbox selection and a bulk-action bar for Export, Archive, and Delete.
Quick Preview
Select items to take bulk action
| Name | Status | Date | |
|---|---|---|---|
| Item #1 | active | 2025-01-01 | |
| Item #2 | pending | 2025-02-01 | |
| Item #3 | inactive | 2025-03-01 | |
| Item #4 | active | 2025-04-01 | |
| Item #5 | pending | 2025-05-01 | |
| Item #6 | inactive | 2025-06-01 | |
| Item #7 | active | 2025-07-01 | |
| Item #8 | pending | 2025-08-01 | |
| Item #9 | inactive | 2025-09-01 | |
| Item #10 | active | 2025-01-01 |
Installation
npm install lucide-react
// Copy component fromsrc/components/patterns/BulkActionToolbar.tsx
Usage
import BulkActionToolbar from '@/components/patterns/BulkActionToolbar'// Self-contained data table with checkbox multi-select and bulk-action bar<BulkActionToolbar />
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
totalItems | number | 10 | Number of demo rows to render |
className | string | - | Additional CSS classes |