Duration Input

Length field with a timer icon, h and m unit-annotated number tiles, and an HH:MM format hint.

1h45m
HH:MM

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Input21 } from "@/components/beste/piece/input21";

<Input21
  label="Session length"
  hours={1}
  minutes={45}
/>

More Input pieces

View all Input
09:30
AMPM

Time Input

input16

Time control with hour and minute tiles separated by a colon, plus a small AM or PM segmented toggle.

Apr 01
Apr 30
30 days

Date Range

input17

Joined from-arrow-to range input with a muted duration chip capping the right side of the control.

Ready when you are

Hero Input

input14

Oversized text field with large type and a fatter caret, made for hero sections and prompt bars.

Beste Sözen

Bare text input atom with a focused state that adds a primary ring and a blinking caret after the value.

2026-04-23

Date Input

input15

Date field with a leading calendar icon, mono ISO value, and a chevron hinting at a popover.

typescript
12
const answer = 42;return answer * 2;

Code Input

input25

Dark mono code field with a language eyebrow, line-number gutter, and content lines on a foreground canvas.