---
url: "https://vueda.dev/v3/reference/api/vue/DateFieldInput.md"
title: "DateFieldInput"
---

# DateFieldInput

## Overview

A single segment of a date field (year, month, day, hour, minute, etc.).
Renders an editable segment inside a DateField.

Theme entry: [DateFieldInput](/v3/reference/theming/keys/DateFieldInput.md)

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-themeOverride">themeOverride</span> | `Object` |  | `null` | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. |
| <span id="prop-class">class</span> | `import('vue').HTMLAttributes['class']` |  | `undefined` | Additional CSS classes to apply to the root element. |
| <span id="prop-part">part</span> | `string` | yes |  | The part of the date this segment represents (e.g. "year", "month", "day"). |

## Slots

### `default` {#slot-default}

Slot.

## Source

`client/lib/controls/date-field/DateFieldInput.vue`
