Date Picker

Primitivas de calendario para seleccionar fechas y rangos.

Uso

Vista previaCódigo
‹ May 2026 ›
26 27 28 29 30 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31 1 2 3 4 5 6

Notas de uso

  • El calendario es una sola parada de tabulación: las flechas se mueven por días y semanas, Inicio y Fin saltan al primer y último día del mes, Re Pág y Av Pág cambian de mes, y Intro o Espacio seleccionan.
  • volt-date-picker es un control de formulario: una escritura desde formControl o ngModel es silenciosa, una selección emite un único cambio y el control solo se marca como tocado cuando el foco sale del calendario.
  • Los días fuera de min y max o rechazados por dateDisabled se anuncian como no disponibles y no se pueden elegir; disabled bloquea todo el calendario.

Referencia de la API

VoltDatePickerCell — volt-date-picker-cell

EntradaTipoPor defecto
class string ''

VoltDatePickerDateButton — volt-date-picker-date-button

EntradaTipoPor defecto
class string ''
aria-label string | undefined undefined

VoltDatePickerGrid — volt-date-picker-grid

EntradaTipoPor defecto
class string ''

VoltDatePickerLabel — volt-date-picker-label

EntradaTipoPor defecto
class string ''
id string —
aria-live string 'polite'

VoltDatePickerNextMonth — volt-date-picker-next-month

EntradaTipoPor defecto
class string ''

VoltDatePickerPreviousMonth — volt-date-picker-previous-month

EntradaTipoPor defecto
class string ''

VoltDatePicker — volt-date-picker

EntradaTipoPor defecto
class string ''
min Date —
max Date —
disabled boolean false
dateDisabled (date: Date) => boolean () => false
firstDayOfWeek VoltDatePickerFirstDayOfWeek 7
date Date | undefined —
focusedDate Date | undefined —
SalidaTipo
dateChangeDate | undefined
focusedDateChangeDate | undefined

VoltDateRangePicker — volt-date-range-picker

EntradaTipoPor defecto
class string ''
min Date —
max Date —
disabled boolean false
dateDisabled (date: Date) => boolean () => false
firstDayOfWeek VoltDatePickerFirstDayOfWeek 7
startDate Date | undefined —
endDate Date | undefined —
focusedDate Date | undefined —
SalidaTipo
startDateChangeDate | undefined
endDateChangeDate | undefined
focusedDateChangeDate | undefined

Código del componente

Instalar por CLI:npx @voltui/cli add date-picker
TypeScript
Cargando el editor…

Copia este código en tu proyecto. El componente usa ng-primitives/date-picker.