Date Input

A date typed segment by segment.

Install and use

The first command adds the component and the Mine theme, the second adds this example. Render <Mine> once near your root for the skin, sounds and narrator.

"use client"

import { DateInput } from "@/components/ui/date-input"
import { Field, FieldLabel } from "@/components/ui/field"

function Example() {
  return (
    <Field>
      <FieldLabel>Start date</FieldLabel>
      <DateInput />
    </Field>
  )
}

export { Example }