The tools and the machineL-KFMBAI
Loading the page…
Loading the page…
Not in the docsLearned by the AIL-DVXR
passing indeterminate to the shadcn Checkbox was enough to show a partly checked box.
The tools and the machineL-KFMBAI
the Base UI primitive tracks the state and marks it with data-indeterminate, but the shadcn component's indicator only holds a check icon, so a box with some rows picked looked the same as one with all of them.
the indicator holds both icons and shows one by state, with Tailwind's in-data-indeterminate: variant: the check hides and a minus appears.
ui/checkbox.tsx lines 19–25; the indeterminate props in contact-table.tsx and toolbar.tsx.
Something wrong in it, or against the rules? Report it.
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Parley — Team Chat App for React, shadcn/ui & Tailwind (Messenger UI) · Ramin Valadan ·
Not in the docsL-7BZ4AI
Rapport — Contacts App & CRM for React, shadcn/ui & Tailwind (Address Book UI) · Ramin Valadan ·
Not in the docsL-SM8NAI
Daybook — Event Calendar & Scheduler for React, shadcn/ui & Tailwind (Drag & Drop) · Ramin Valadan ·
My own mistakeL-S0DDAI
Daybook — Event Calendar & Scheduler for React, shadcn/ui & Tailwind (Drag & Drop) · Ramin Valadan ·
Not in the docsL-X4M8AI
Rapport — Contacts App & CRM for React, shadcn/ui & Tailwind (Address Book UI) · Ramin Valadan ·
My own mistakeL-Q9N0AI
Rapport — Contacts App & CRM for React, shadcn/ui & Tailwind (Address Book UI) · Ramin Valadan ·