Measured entry
originui-comp-40
A client-side, segmented date-and-time field configured for minute entry and a day-long clock. It ships as a shadcn registry component plus a shared DateField wrapper, using React Aria Components for behavior, Tailwind utility classes for styling, and a local cn helper for class composition.



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 | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 76.3 KB (141.7 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 9.14s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/datefield-rac.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A sound accessible-behavior foundation with responsive rendering, but the tested styling has a serious contrast defect that must be corrected. It also needs a shadcn-style setup to build and mount, so it is best adopted inside an existing compatible design system.
Use it if
- You need keyboard-aware segmented date and time entry instead of a free-form text field.
- Your app already uses React Aria Components and shadcn-style theme tokens.
- You want an inline field that stays within narrow and wide layouts.
Skip it if
- Your design system cannot accept the observed text contrast issue without restyling muted and segment states.
- You want a calendar popover or date picker rather than direct segmented entry.
- You need a dependency-light native input and do not otherwise use React Aria Components.
- Your project lacks Tailwind theme tokens and you do not want to translate the utility classes.
Install
| Declared dependencies | react-aria-components |
|---|---|
| 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 Aria Components, provide the cn class-merging helper and matching import aliases, configure Tailwind, and define the foreground, muted, border, accent, ring, background, and destructive theme tokens used by the component. Then revise the affected colors to meet contrast requirements.
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/origin-space/originuiAlternatives
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