# Date Input

A configurable, accessible date input surface for AI product workflows.

## Installation

```bash
npx shadcn@latest add https://amro-ui.vercel.app/r/date-input.json
```

[Registry JSON](https://amro-ui.vercel.app/r/date-input.json)

## Preview

```tsx
import { DateInput } from "@amro-ui/react";

export function Preview() {
  return (
    <div className="grid min-h-72 w-full place-items-center rounded-xl border bg-background p-6 sm:p-10">
      <DateInput aria-label="Meeting date" defaultValue="2026-08-12" />
    </div>
  );
}
```


## Source

### ui/date-input.tsx

```tsx
"use client";

import "@/components/amro/amro-ui.css";

export { DateInput } from "@/components/amro/components/input";
export type { DateInputProps } from "@/components/amro/components/input";
```



## Usage

A configurable, accessible date input surface for AI product workflows.

### Package

```tsx
import { DateInput } from "@amro-ui/react";

<DateInput />
```

### shadcn copy

```tsx
import { DateInput } from "@/components/ui/date-input";

<DateInput />
```

