# Date input (UI SDK): Disabled

> A disabled field is skipped by focus and doesn’t submit.

Canonical: https://hextaui.com/docs/ui-sdk-date-input/examples/disabled

Component docs: https://hextaui.com/docs/ui-sdk-date-input

## Add this example

```bash
npx shadcn@latest add https://hextaui.com/r/ui-sdk-date-input-disabled.json
```

This adds `components/examples/ui-sdk-date-input/disabled.tsx` with the Date input component and the HextaUI theme tokens.

## Source

```tsx title="components/examples/ui-sdk-date-input/disabled.tsx"
import { Label } from "@/components/ui/label"
import { DateInput } from "@/components/ui/ui-sdk-date-input"

function UiSdkDateInputDisabled() {
  return (
    <div className="flex w-full max-w-44 flex-col gap-2">
      <Label id="start-date-disabled">Start date</Label>
      <DateInput
        aria-labelledby="start-date-disabled"
        defaultValue="2026-11-02"
        disabled
      />
    </div>
  )
}

export { UiSdkDateInputDisabled }
```

## Props in this example

### DateInput

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `defaultValue` | `string \| null` | – |  |
| `disabled` | `boolean` | `false` |  |

## More Date input examples

- [Date and time](https://hextaui.com/docs/ui-sdk-date-input/examples/date-time)
- [Min and max](https://hextaui.com/docs/ui-sdk-date-input/examples/min-max)
- [Unavailable dates](https://hextaui.com/docs/ui-sdk-date-input/examples/unavailable)
- [Locale](https://hextaui.com/docs/ui-sdk-date-input/examples/locale)
- [Form](https://hextaui.com/docs/ui-sdk-date-input/examples/form)
- [Controller](https://hextaui.com/docs/ui-sdk-date-input/examples/controller)
- [Read-only](https://hextaui.com/docs/ui-sdk-date-input/examples/read-only)
- [Right to left](https://hextaui.com/docs/ui-sdk-date-input/examples/rtl)
