Sigil

Date field

A date input.

GUITUIRuns in the browserdate_field

Preview

Date field, Default, light themeDate field, Default, dark theme

Usage example

fn date_field_demo() -> DateFieldBuilder {    date_field(signal(Date {        year: 2026,        month: 4,        day: 1,    }))}
fn date_field_demo() -> DateFieldBuilder{  date_field(signal(Date {    year: 2026,    month: 4,    day: 1,  }))}

States

All 6 captured states, each drawn by the window host and by the terminal host.

  • Date field, Default, light themeDate field, Default, dark theme
    Default
  • Date field, Hover, light themeDate field, Hover, dark theme
    Hover
  • Date field, Pressed, light themeDate field, Pressed, dark theme
    Pressed
  • Date field, Focused, light themeDate field, Focused, dark theme
    Focused
  • Date field, Disabled, light themeDate field, Disabled, dark theme
    Disabled
  • Date field, Invalid, light themeDate field, Invalid, dark theme
    Invalid

API

NameSignaturePurpose
date_fieldfn date_field(value: Signal<Date>) -> DateFieldBuilderA date input.