Measured entry
hextaui-calendar
A client-side calendar built around React DayPicker, delivered as a shadcn registry component. It uses date-fns, Lucide icons, HextaUI's Button and button variants, a local cn helper, and Tailwind theme tokens rather than shipping as a self-contained widget.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 51.7 KB (117.1 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 45.10s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/calendar.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A solid choice inside a current shadcn-style codebase, with clean DayPicker extension points and no measured runtime or accessibility failures. It needs a shadcn-style setup and does not mount as a bare standalone component.
Use it if
- You already use shadcn-style registry components and want a DayPicker calendar that matches the same button and theme conventions.
- You need single-date or range selection with overridable DayPicker props, formatters, class names, and internal components.
- You want a responsive calendar that can show multiple months without viewport overflow.
Skip it if
- Your app does not use Tailwind utilities, shadcn theme tokens, or a compatible Button implementation.
- You need a small dependency footprint and do not otherwise use React DayPicker or date-fns.
- You want a complete date-input field with parsing, validation, popover behavior, and form wiring included.
Install
| Declared dependencies | react-day-picker@latest, date-fns, @radix-ui/react-slot |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add React DayPicker, date-fns, Lucide React, and the Radix Slot dependency used by the Button. Provide a compatible Button with buttonVariants, a cn utility, Tailwind processing, and the expected theme tokens and utility conventions; then update the aliased imports to local paths.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/preetsuthar17/HextaUIAlternatives
Other published entries for the calendar pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- shadcn-calendarunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 37.3KB
- Bare
- fail
- Prov
- NO
- shadcn-block-calendar-01minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 50.8KB
- Bare
- fail
- Prov
- NO
- shadcn-block-calendar-02minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 50.9KB
- Bare
- fail
- Prov
- NO
- shadcn-block-calendar-03minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 50.9KB
- Bare
- fail
- Prov
- NO
- shadcn-block-calendar-04minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 50.9KB
- Bare
- fail
- Prov
- NO
- shadcn-block-calendar-05minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 50.9KB
- Bare
- fail
- Prov
- NO