BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/boldkit/calendar

Calendar

boldkit/calendar
FreeComponent

A date picker calendar with neubrutalism styling

Live preview

live · rendered by the registry
Rendered by boldkit on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://boldkit.dev/r/calendar.json

Source

registry/default/ui/calendar.tsxboldkit.dev/r/calendar.json
1import * as React from 'react'
2import { ChevronLeft, ChevronRight } from 'lucide-react'
3import { DayPicker } from 'react-day-picker'
4import { cn } from '@/lib/utils'
5import { buttonVariants } from '@/components/ui/button'
6
7export type CalendarProps = React.ComponentProps<typeof DayPicker>
8
9function Calendar({
10 className,
11 classNames,
12 showOutsideDays = true,
13 ...props
14}: CalendarProps) {
15 return (
16 <DayPicker
17 showOutsideDays={showOutsideDays}
18 className={cn(
19 'p-3 border-3 border-foreground bg-background shadow-[4px_4px_0px_hsl(var(--shadow-color))]',
20 className
21 )}
22 classNames={{
23 months: 'flex flex-col sm:flex-row gap-4',
24 month: 'flex flex-col gap-4',
25 month_caption: 'flex justify-center pt-1 relative items-center px-10',
26 caption_label: 'text-sm font-bold uppercase tracking-wide',
27 nav: 'flex items-center gap-1',
28 button_previous: cn(
29 buttonVariants({ variant: 'outline' }),
30 'h-7 w-7 bg-transparent p-0 absolute left-0 hover:translate-x-0 hover:translate-y-0 hover:scale-110'
31 ),
32 button_next: cn(
33 buttonVariants({ variant: 'outline' }),
34 'h-7 w-7 bg-transparent p-0 absolute right-0 hover:translate-x-0 hover:translate-y-0 hover:scale-110'
35 ),
36 month_grid: 'w-full border-collapse space-y-1',
37 weekdays: 'flex',
38 weekday: 'text-muted-foreground w-9 font-bold text-[0.8rem] uppercase',
39 week: 'flex w-full mt-2',
40 day: 'relative p-0 text-center text-sm focus-within:relative focus-within:z-20',
41 day_button: cn(
42 buttonVariants({ variant: 'ghost' }),
43 'h-9 w-9 p-0 font-medium border-0 aria-selected:opacity-100'
44 ),
45 selected: 'bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground border-2 border-foreground',
46 today: 'bg-accent text-accent-foreground border-2 border-foreground',
47 outside: 'text-muted-foreground opacity-50 aria-selected:opacity-30',
48 disabled: 'text-muted-foreground opacity-50',
49 range_middle: 'aria-selected:bg-accent aria-selected:text-accent-foreground',
50 hidden: 'invisible',
51 ...classNames,
52 }}
53 components={{
54 Chevron: ({ orientation }) => {
55 const Icon = orientation === 'left' ? ChevronLeft : ChevronRight
56 return <Icon className="h-4 w-4 stroke-[3]" />
57 },
58 }}
59// … truncated

What it pulls in

npm packages

  • react-day-picker
  • lucide-react

Other registry items

  • @boldkit/utils
  • @boldkit/button

Files it writes

  • registry/default/ui/calendar.tsx

Facts

Registry
boldkit
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

Docs on boldkit boldkit.dev ANIBIT14/boldkit on GitHub Raw registry item This item as JSON

More from boldkit

All 94 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionboldkitComponentsFree2 deps
AlertalertboldkitComponentsFree2 deps
Alert Dialogalert-dialogboldkitComponentsFree1 dep
ASCII Shapesascii-shapesboldkitComponentsFreeno deps
Aspect Ratioaspect-ratioboldkitComponentsFree1 dep
AvataravatarboldkitComponentsFree1 dep
BadgebadgeboldkitComponentsFree1 dep
BreadcrumbbreadcrumbboldkitComponentsFree2 deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex