Font Awesome Build Awesome
Try SSR Server-side rendering (SSR) generates component HTML on the server before the page loads, improving SEO and initial load time. Use the switch to see Web Awesome components render with and without SSR.
Search this website ⌘KCtrl+K Light Dark System Docs Select Color Scheme Default Awesome Shoelace Active Brutalist Glossy Matter Mellow Playful Premium Tailspin Docs Select Theme View Project on GitHub Star Project on GitHub
Start Components Docs Help
Login Log into your account
Web Awesome Font Awesome Build Awesome
Search this site… /
Try SSR Server-side rendering (SSR) generates component HTML on the server before the page loads, improving SEO and initial load time. Use the switch to see Web Awesome components render with and without SSR.
Light Dark System Docs Select Color Scheme Default Awesome Shoelace Active Brutalist Glossy Matter Mellow Playful Premium Tailspin Docs Select Theme

Getting Started

  • Installation
  • Usage
  • Forms
  • Localization
  • Frameworks
  • Using with AI
  • Figma Design Kit ProThis requires access to Web Awesome Pro
  • Server Rendering

Resources

  • Accessibility
  • Browser Support
  • Contributing
  • Patterns ProPatterns require access to Web Awesome Pro
  • Migrating from Shoelace
  • Visual Tests
  • Changelog
  • Help & Support

Theming & Utilities

  • Overview
  • Built-in Themes
  • Color Palettes
  • Design Tokens
  • Customizing & Theming
  • CSS Utilities

Actions

  • Button
  • Button Group
  • Copy Button
  • Dropdown
    • Dropdown Item

Forms

  • Checkbox
  • Checkbox Group
  • Color Picker
  • Combobox ProThis requires access to Web Awesome Pro
  • Date Input ProThis requires access to Web Awesome Pro
  • Date Picker ProThis requires access to Web Awesome Pro
  • File Input ProThis requires access to Web Awesome Pro
  • Input
  • Known Date
  • Number Input
  • Radio Group
    • Radio
  • Rating
  • Select
    • Option
  • Slider
  • Switch
  • Textarea
  • Time Input
  • Data Grid Planned A Web Awesome Kickstarter stretch goal!

Layout

  • Accordion
    • Accordion Item
  • Card
  • Details
  • Dialog
  • Divider
  • Drawer
  • Page
  • Scroller
  • Split Panel

Navigation

  • Breadcrumb
    • Breadcrumb Item
  • Tab Group
    • Tab
    • Tab Panel
  • Tree
    • Tree Item

Feedback

  • Badge
  • Callout
  • Progress Bar
  • Progress Ring
  • Skeleton
  • Spinner
  • Tag
  • Toast ProThis requires access to Web Awesome Pro
  • Toast Item ProThis requires access to Web Awesome Pro
  • Tooltip

Media

  • Animated Image
  • Avatar
  • Carousel
    • Carousel Item
  • Comparison
  • Icon
  • Markdown
  • QR Code
  • Video ProThis requires access to Web Awesome Pro
  • Video Playlist ProThis requires access to Web Awesome Pro
  • Zoomable Frame

Data Viz ProThis requires access to Web Awesome Pro

  • Bar Chart
  • Bubble Chart
  • Doughnut Chart
  • Line Chart
  • Pie Chart
  • Polar Area Chart
  • Radar Chart
  • Scatter Chart
  • Sparkline
  • Advanced Usage

Helpers

  • Animation
  • Format Bytes
  • Format Date
  • Format Number
  • Include
  • Intersection Observer
  • Mutation Observer
  • Popover
  • Popup
  • Random Content
  • Relative Time
  • Resize Observer

Date Input

  • Form Submission
  • Examples
  • Initial Value
  • Label
  • Hint
  • Start & End Decorations
  • Clearable
  • Min & Max
  • Disabling Past & Future
  • Disabling Specific Dates & Days of the Week
  • Date Range
  • Range Length Constraints
  • Size
  • Appearance
  • Pill
  • Disabled
  • Readonly
  • Localization
  • Customizing the Popup
  • Conditionally Disabling Dates
  • Custom Day Content
  • Custom Per-Day Slots
  • Custom Navigation Icons
  • Custom Footer
  • Programmatic API
  • API
  • Importing
  • Slots
  • Attributes & Properties
  • Methods
  • Events
  • CSS Custom Properties
  • Custom States
  • CSS Parts
  • Dependencies
On This Page...
  • Form Submission
  • Examples
  • Initial Value
  • Label
  • Hint
  • Start & End Decorations
  • Clearable
  • Min & Max
  • Disabling Past & Future
  • Disabling Specific Dates & Days of the Week
  • Date Range
  • Range Length Constraints
  • Size
  • Appearance
  • Pill
  • Disabled
  • Readonly
  • Localization
  • Customizing the Popup
  • Conditionally Disabling Dates
  • Custom Day Content
  • Custom Per-Day Slots
  • Custom Navigation Icons
  • Custom Footer
  • Programmatic API
  • API
  • Importing
  • Slots
  • Attributes & Properties
  • Methods
  • Events
  • CSS Custom Properties
  • Custom States
  • CSS Parts
  • Dependencies

Date Input

<wa-date-input>
ProIncluded with Web Awesome Pro Experimental Forms Since 3.8

Date inputs let users enter a date through a segmented field or select one visually from a popup calendar. They support locale-aware segment order, min and max constraints, and form validation.

Get Date Input with Web Awesome Pro! Subscribing to Web Awesome Pro gives you every Pro component, plus premium themes, color tools, team collaboration, and more.
  • Pro Components
  • Responsive Layout Tools
  • Ever-Growing Pattern Library
  • Unlimited Hosted Projects
  • Pre-Built Pro Themes
  • Pro Theme Builder
  • Pro Color Tools
  • Official Figma Design Kit Newer additions to Web Awesome, like <wa-toast>, aren't included in the currently available kit, but a new version is in the works.
    Track its progress on GitHub.
  • WA Pro Perpetual License
  • Actual Human™ Support
Get Web Awesome Pro + Date Input!

Already have Pro? Log in

Date Input is the form-associated counterpart to <wa-date-picker>. It renders a segmented input with discrete month, day, and year spinbutton segments in the user's locale order, alongside a popup calendar for visual selection. The segment order, separators, and submitted ISO value all derive from the page's locale.

Use the arrow keys to step through values, type digits to fill segments (focus auto-advances when the segment can accept no further digit), and use Alt+Down Arrow to open the popup calendar. The entire field is one tab stop.

<wa-date-input label="Pick a date"></wa-date-input>

Form Submission

Link to This Section

The hidden form value is canonical ISO 8601, regardless of the user's locale:

Mode Form value Notes
Single (default) YYYY-MM-DD e.g. 2026-01-23
Range YYYY-MM-DD/YYYY-MM-DD Start and end, slash-separated
Partial input (empty) The value stays empty until the input parses

The example below renders a working form. Submit it (or change the date) and watch the console. The date input submits its value just like a native <input>, regardless of how the user typed or what locale they used.


Submit





<form id="dp-form-demo">
  <wa-date-input name="event_date" label="Event date" required value="2026-05-20"></wa-date-input>
  <br />
  <wa-button type="submit" appearance="filled" variant="neutral">Submit</wa-button>
</form>

<pre id="dp-form-demo-output"></pre>

<style>
  #dp-form-demo-output {
    margin-block-start: 1rem;
    margin-block-end: 0;
    padding: 0.75rem;
    background: var(--wa-color-surface-lowered);
    border-radius: var(--wa-border-radius-m);
    font-size: 0.875em;
  }

  #dp-form-demo-output:empty {
    display: none;
  }
</style>

<script>
  const form = document.getElementById('dp-form-demo');
  const output = document.getElementById('dp-form-demo-output');

  form.addEventListener('submit', event => {
    event.preventDefault();
    const data = new FormData(form);
    const entries = Object.fromEntries(data.entries());
    const formatted = JSON.stringify(entries, null, 2);
    console.log('Submitted FormData:', entries);
    output.textContent = 'Submitted FormData:\n' + formatted;
  });
</script>

Examples

Link to This Section

Initial Value

Link to This Section

Set the value attribute to an ISO date to pre-populate the input.

<wa-date-input label="Date of birth" value="1990-04-15"></wa-date-input>

Label

Link to This Section

Use the label attribute to give the date input an accessible label. For labels that contain HTML, use the label slot instead.

<wa-date-input label="When did you start?"></wa-date-input>

Hint

Link to This Section

Add descriptive hint to a date input with the hint attribute. For hints that contain HTML, use the hint slot instead.

<wa-date-input label="Departure" hint="Choose the day you want to leave."></wa-date-input>

Start & End Decorations

Link to This Section

Use the start and end slots to add presentational elements like <wa-icon> inside the input.


<wa-date-input label="Departure">
  <wa-icon name="plane-departure" slot="start"></wa-icon>
</wa-date-input>
<br />
<wa-date-input label="Arrival">
  <wa-icon name="plane-arrival" slot="end"></wa-icon>
</wa-date-input>

Clearable

Link to This Section

Add the with-clear attribute to let users wipe their selection in a single click. The clear button only appears once a value is set.

<wa-date-input label="Due date" with-clear value="2026-08-01"></wa-date-input>

Min & Max

Link to This Section

Use min and max to constrain the selectable range. Dates outside the range render as disabled in the popup, can't be selected by clicking, and are skipped by keyboard navigation.

<wa-date-input label="Check-in" min="2026-01-01" max="2026-12-31"></wa-date-input>

Disabling Past & Future

Link to This Section

Use disable-past or disable-future to block all dates strictly before or after today, without having to recalculate min/max every day.

<wa-date-input label="Future bookings only" disable-past></wa-date-input>

Disabling Specific Dates & Days of the Week

Link to This Section

Use disabled-days-of-week to block recurring weekdays (e.g., weekends), and disabled-dates to block specific calendar dates such as holidays.



<wa-date-input label="Pick a weekday" disabled-days-of-week="sun sat"></wa-date-input>
<br />
<br />
<wa-date-input label="Excludes holidays" disabled-dates="2026-07-04 2026-12-25 2026-12-31"></wa-date-input>

Date Range

Link to This Section

Use mode="range" to let users select a start and end date. The calendar opens in range mode automatically.

<wa-date-input label="Booking" mode="range" months="2"></wa-date-input>

Range Length Constraints

Link to This Section

In range mode, use min-range and max-range to require the selection to fall within a specific number of days.

<wa-date-input label="Trip length (3–14 days)" mode="range" months="2" min-range="3" max-range="14"></wa-date-input>

Size

Link to This Section

Use the size attribute to match the date input to surrounding form controls.





<wa-date-input size="xs" label="Extra small"></wa-date-input>
<br />
<wa-date-input size="s" label="Small"></wa-date-input>
<br />
<wa-date-input size="m" label="Medium"></wa-date-input>
<br />
<wa-date-input size="l" label="Large"></wa-date-input>
<br />
<wa-date-input size="xl" label="Extra large"></wa-date-input>

Appearance

Link to This Section

Use the appearance attribute to switch between the default outlined input, a filled background, or a filled input with an outlined border.


<wa-date-input appearance="filled" label="Filled"></wa-date-input>
<br />
<wa-date-input appearance="filled-outlined" label="Filled outlined"></wa-date-input>

Pill

Link to This Section

Use the pill attribute to give the input fully rounded edges.

<wa-date-input pill label="Pill"></wa-date-input>

Disabled

Link to This Section

Use the disabled attribute to disable the date input entirely. Disabled date inputs don't accept input, are skipped during tabbing, and don't submit a value with the form.

<wa-date-input label="Disabled" value="2026-05-20" disabled></wa-date-input>

Readonly

Link to This Section

Use the readonly attribute to make the date input non-editable while still allowing it to be focused and to submit its value with the form. The popup still opens for browsing.

<wa-date-input label="Readonly" value="2026-05-20" readonly></wa-date-input>

Localization

Link to This Section

Set lang on the input (or anywhere up the tree) to localize the input format and popup calendar.





<wa-date-input label="Veranstaltungsdatum" lang="de-DE" value="2026-01-23"></wa-date-input>
<br />
<br />
<wa-date-input label="Date d'événement" lang="fr-FR" value="2026-01-23"></wa-date-input>
<br />
<br />
<wa-date-input label="日付" lang="ja-JP" value="2026-01-23"></wa-date-input>

Customizing the Popup

Link to This Section

Use placement to anchor the popup relative to the input and distance to control the gap between them.

<wa-date-input label="Anchored above" placement="top-start" distance="8"></wa-date-input>

Conditionally Disabling Dates

Link to This Section

Set the isDateDisabled property to a function that returns true for any date that should be unselectable. This runs in addition to the declarative min, max, disabled-dates, and disabled-days-of-week rules.

<wa-date-input id="dp-workdays" label="Workdays only"></wa-date-input>

<script type="module">
  const dp = document.getElementById('dp-workdays');

  await customElements.whenDefined('wa-date-input');
  await dp.updateComplete;
  dp.isDateDisabled = date => {
    const day = date.getDay();
    return day === 0 || day === 6;
  };
</script>

Custom Day Content

Link to This Section

Forward the dayContent callback to render anything inside individual day cells (badges, dots, availability counts).

<wa-date-input id="dp-day-content" label="With custom day content"></wa-date-input>

<script type="module">
  const dp = document.getElementById('dp-day-content');

  await customElements.whenDefined('wa-date-input');
  await dp.updateComplete;

  dp.dayContent = date => {
    // Add a small dot to weekends.
    const day = date.getDay();
    if (day === 0 || day === 6) {
      return (
        date.getDate() +
        ' <span style="display:inline-block;width:.4em;height:.4em;border-radius:50%;background:var(--wa-color-brand-fill-loud);vertical-align:super;"></span>'
      );
    }
    return null; // default
  };
</script>

Custom Per-Day Slots

Link to This Section

Set slot="day-YYYY-MM-DD" on a child element to override that specific day's content.

🇺🇸 🎄
<wa-date-input label="With holiday markers">
  <span slot="day-2026-07-04" title="Independence Day">🇺🇸</span>
  <span slot="day-2026-12-25" title="Christmas">🎄</span>
</wa-date-input>

Custom Navigation Icons

Link to This Section

Use the previous-icon and next-icon slots to replace the calendar's default paging arrows.

<wa-date-input label="With custom arrows">
  <wa-icon slot="previous-icon" name="arrow-left"></wa-icon>
  <wa-icon slot="next-icon" name="arrow-right"></wa-icon>
</wa-date-input>

Custom Footer

Link to This Section

The footer slot is forwarded to the popup calendar.

Today Clear
<wa-date-input label="With footer">
  <div slot="footer" style="display:flex; gap:.5rem; justify-content:flex-end;">
    <wa-button
      size="s"
      appearance="filled"
      variant="neutral"
      onclick="this.closest('wa-date-input').value = new Date().toISOString().slice(0,10)"
      >Today</wa-button
    >
    <wa-button size="s" appearance="plain" onclick="this.closest('wa-date-input').value = ''">Clear</wa-button>
  </div>
</wa-date-input>

Programmatic API

Link to This Section

Set or read the value, listen for changes, and open or close the popup from JavaScript.

<wa-date-input id="dp" label="Programmatic"></wa-date-input>

<script>
  const dp = document.getElementById('dp');

  // Set a value
  dp.value = '2026-01-23';

  // Or set with a Date
  dp.value = new Date(2026, 0, 23);

  // Read parsed value
  console.log(dp.valueAsDate);

  // Open/close
  await dp.show();
  await dp.hide();

  // Listen for changes
  dp.addEventListener('change', e => console.log('value:', e.target.value));
  dp.addEventListener('wa-after-show', () => console.log('popup opened'));
</script>

API

Link to This Section

Importing

Link to This Section

If you're using the autoloader or a hosted project, components load on demand — no manual import needed. To cherry-pick a component manually, use one of the following snippets.

CDN npm Self-Hosted React

Import this component directly from the CDN:

import 'https://ka-f.webawesome.com/[email protected]/components/date-input/date-input.js';

After installing Web Awesome via npm, import this component:

import '@awesome.me/webawesome/dist/components/date-input/date-input.js';

If you're self-hosting Web Awesome, import this component from your server:

import './webawesome/dist/components/date-input/date-input.js';

To import this component for React 18 or below, use the following code:

import WaDateInput from '@awesome.me/webawesome/dist/react/date-input/index.js';

Slots

Link to This Section

Learn more about using slots.

Name Description
clear-icon An icon to use in lieu of the default clear icon.
day-YYYY-MM-DD Custom content for a specific day in the popup date picker. Slot name is dynamic (e.g., day-2026-05-25). Forwarded to <wa-date-picker>.
end An element placed at the end of the input.
expand-icon The icon to show on the date picker toggle button. Defaults to a calendar icon.
footer Content shown below the date picker inside the popup.
hint Text that describes how to use the date input. Alternatively, use the hint attribute.
label The date input's label. Alternatively, use the label attribute.
next-icon Icon for the date picker's next-page button. Forwarded to <wa-date-picker>.
previous-icon Icon for the date picker's previous-page button. Forwarded to <wa-date-picker>.
start An element placed at the start of the input.

Attributes & Properties

Link to This Section

Learn more about attributes and properties.

Name Description Reflects
appearance
appearance
The date input's visual appearance.
Type 'filled' | 'outlined' | 'filled-outlined'
Default 'outlined'
assumeInteractionOn
Native input events do not fire on role=spinbutton elements (they aren't real <input>s). The component dispatches a composed host input event on every segment edit, every step, and on calendar selection, so a single input is enough to mark the field as interacted with.
Type string[]
Default ['input']
autocomplete
autocomplete
Forwarded to the hidden form input (e.g., 'bday', 'cc-exp') to enable browser autofill.
Type string
Default ''
dayContent
JS-only callback for custom day-cell content. Forwarded to the popup calendar.
Type WaDateInputDayContent | undefined
defaultValue
value
The default value of the form control. Used for form reset.
Type string
disabled
disabled
Disables the date input.
Type boolean
Default false
disabledDates
disabled-dates
Dates that cannot be selected.
Type string | string[] | Date[]
Default ''
disabledDaysOfWeek
disabled-days-of-week
Days of the week that cannot be selected. Accepts a space-separated list of three-letter weekday names.
Type string
Default ''
disableFuture
disable-future
Disable all dates strictly after today.
Type boolean
Default false
disablePast
disable-past
Disable all dates strictly before today.
Type boolean
Default false
distance
distance
Distance in pixels between the popup and the input.
Type number
Default 0
firstDayOfWeek
first-day-of-week
The first day of the week in the popup calendar.
Type WaDateInputFirstDayOfWeek
Default 'auto'
form
By default, form controls are associated with the nearest containing <form> element. This attribute allows you to place the form control outside of a form and associate it with the form that has this id. The form must be in the same document or shadow root for this to work.
Type HTMLFormElement | null
hint
hint
The date input's hint. If you need to display HTML, use the hint slot instead.
Type string
Default ''
isDateDisabled
JS-only callback for custom date disabling. Forwarded to the popup calendar.
Type (date: Date) => boolean | undefined
label
label
The date input's label. If you need to display HTML, use the label slot instead.
Type string
Default ''
max
max
Latest selectable date as YYYY-MM-DD. Out-of-range dates are disabled in the popup calendar and a committed value after max fails constraint validation with rangeOverflow.
Type string
Default ''
maxRange
max-range
Maximum range length in days (range mode only). 0 disables.
Type number
Default 0
min
min
Earliest selectable date as YYYY-MM-DD. Out-of-range dates are disabled in the popup calendar and a committed value before min fails constraint validation with rangeUnderflow.
Type string
Default ''
minRange
min-range
Minimum range length in days (range mode only). 0 disables.
Type number
Default 0
mode
mode
Selection mode.
Type WaDateInputMode
Default 'single'
months
months
Number of months rendered in the popup calendar.
Type 1 | 2
Default 1
name
name
The date input's name, submitted as a name/value pair with form data.
Type string | null
Default ''
open
open
Whether the popup calendar is open.
Type boolean
Default false
pageBy
page-by
Whether prev/next pages by the visible range or one month at a time.
Type 'months' | 'single'
Default 'months'
pill
pill
Draws a pill-style date input with rounded edges.
Type boolean
Default false
placement
placement
Preferred popup placement.
Type WaDateInputPlacement
Default 'bottom-start'
readonly
readonly
Makes the input non-editable. The popup still opens for browsing.
Type boolean
Default false
required
required
Makes the date input required for form submission.
Type boolean
Default false
size
size
The date input's size.
Type WaDateInputSize | 'small' | 'medium' | 'large'
Default 'm'
today
today
Override "today" as YYYY-MM-DD (defaults to the runtime date).
Type string
Default ''
validationTarget
Override this to change where constraint validation popups are anchored.
Type undefined | HTMLElement
validators
Validators are static because they have observedAttributes, essentially attributes to "watch" for changes. Whenever these attributes change, we want to be notified and update the validator.
Type Validator[]
Default []
value
The date input's value. ISO 8601 YYYY-MM-DD for single mode, YYYY-MM-DD/YYYY-MM-DD for range mode (with from <= to). The setter also accepts a Date or a range object with from and to properties.
Type string
valueAsDate
The selected date as a Date (single mode only).
Type Date | null
valueAsRange
The selected range as an object with from and to properties (range mode only).
Type { from: Date | null; to: Date | null }
weekdayFormat
weekday-format
Weekday header format in the popup calendar.
Type 'narrow' | 'short' | 'long'
Default 'short'
withClear
with-clear
Shows a clear button when the date input has a value.
Type boolean
Default false
withHint
with-hint
Only required for SSR. Set to true if you're slotting in a hint element.
Type boolean
Default false
withLabel
with-label
Only required for SSR. Set to true if you're slotting in a label element.
Type boolean
Default false
withOutsideDays
with-outside-days
Show leading/trailing days from adjacent months in the popup calendar.
Type boolean
Default false
withWeekNumbers
with-week-numbers
Show ISO 8601 week numbers in the popup calendar.
Type boolean
Default false

Methods

Link to This Section

Learn more about methods.

Name Description Arguments
blur() Removes focus from the date input.
clear() Clears the current value and emits wa-clear, input, and change. Mirrors activating the clear button. No-op when already empty or when disabled/readonly.
focus() Sets focus on the first empty (else first) segment. options: FocusOptions
formStateRestoreCallback() Called when the browser is trying to restore element’s state to state in which case reason is "restore", or when the browser is trying to fulfill autofill on behalf of user in which case reason is "autocomplete". In the case of "restore", state is a string, File, or FormData object previously set as the second argument to setFormValue. state: string | File | FormData | null
hide() Closes the popup calendar.
resetValidity() Reset validity is a way of removing manual custom errors and native validation.
setCustomValidity() Do not use this when creating a "Validator". This is intended for end users of components. We track manually defined custom errors so we don't clear them on accident in our validators. message: string
show() Opens the popup calendar.

Events

Link to This Section

Learn more about events.

Name Description
blur Emitted when the control loses focus.
change Emitted on every committed value transition (each completed date edit, calendar selection, or clear), mirroring native <input type="date"> rather than the commit-on-blur behavior of <wa-input>/<wa-select>. This matches the sibling <wa-time-input>. It does NOT fire while a value is still incomplete.
focus Emitted when the control receives focus.
input Emitted on every segment edit, step, calendar interaction, and clear, even while the value is incomplete.
wa-after-hide Emitted after the popup closes and animations complete.
wa-after-show Emitted after the popup opens and animations complete.
wa-clear Emitted when the clear button is activated.
wa-hide Emitted when the popup is about to close. Cancelable.
wa-invalid Emitted when the form control has been checked for validity and its constraints aren't satisfied.
wa-show Emitted when the popup is about to open. Cancelable.

CSS Custom Properties

Link to This Section

Learn more about CSS custom properties.

Name Description
--hide-duration
The duration of the hide animation.
Default var(--wa-transition-fast)
--show-duration
The duration of the show animation.
Default var(--wa-transition-fast)

Custom States

Link to This Section

Learn more about custom states.

Name Description CSS selector
blank The date input has no committed value. :state(blank)
disabled The date input is disabled. :state(disabled)
open The popup is open. :state(open)
range The date input is in range mode. :state(range)

CSS Parts

Link to This Section

Learn more about CSS parts.

Name Description CSS selector
base The component's base wrapper. ::part(base)
clear-button The clear button. ::part(clear-button)
date-picker The popup's <wa-date-picker> element. ::part(date-picker)
end The container that wraps the end slot. ::part(end)
expand-button The date picker toggle button. ::part(expand-button)
expand-icon The expand icon wrapper. ::part(expand-icon)
form-control The form control that wraps the label, input, and hint. ::part(form-control)
form-control-input The input's wrapper. ::part(form-control-input)
form-control-label The label's wrapper. ::part(form-control-label)
hint The hint's wrapper. ::part(hint)
input The segmented input group. ::part(input)
input-wrapper The container that wraps the start slot, segmented input, clear button, and expand button. ::part(input-wrapper)
popup The popup container. ::part(popup)
range-separator The literal between the two groups in range mode. ::part(range-separator)
segment Each editable segment (month/day/year spinbutton). Use [part~="segment"] to style all. ::part(segment)
segment-literal Inert literal text between segments (separators). ::part(segment-literal)
start The container that wraps the start slot. ::part(start)

Dependencies

Link to This Section

This component automatically imports the following elements. Sub-dependencies, if any exist, will also be included in this list.

  • <wa-date-picker>
  • <wa-icon>
  • <wa-popup>
Need a hand? Report a bug Ask for help
Go Make Something Awesome
Version 3.10.0 © Fonticons, Inc.
  • Terms
  • Privacy
  • Refunds
  • Core License
  • Pro License

Quick Links

  • Components
  • CSS Utilities
  • Theming
  • Using with AI
  • Changelog
  • Help & Support

Recent Searches

    D'oh! No results for “”

    Suggest on GitHub Ask on Discord
    Navigate Select
    Close Esc

    We Have Cookies…

    We use cookies to make webawesome.com work better by storing limited information about your usage.

    We value your privacy, so we won't use them for evil or ask you to join the dark side.

    Customize
    Necessary Only Accept All
    Strictly Necessary
    Required to make the site function correctly — cannot be turned off
    Functionality Analytics
    Cancel Confirm Cookie Choices