Components•Date Picker
Components•Date Picker
Date Picker
An anchored calendar trigger for selecting a single date without opening a full modal.
Dependencies
Copy below cli
npx shadcn add @bjork-ui/primitive-date-pickerHow to use
import { BjorkDatePicker } from "@/components/isaiahbjork/primitives";Props
classNamestringPass through styling hooks for the Date Picker primitive without replacing the base Bjork surface.
childrenReactNodeComposable content, labels, icons, and nested content where the primitive supports them.
dateDateProvide a selected date and update it from the calendar selection callback.
Date popover
Use where a single date selection should stay anchored to a control.
<BjorkDatePicker />