Date Picker
BsDatePicker is a component that generates a calendar style date selection widget.
Overview
BsDatePicker comes in two orientation variations, portrait (default) and landscape. Additionaly, you can use v-model directive to create two-way data bindings on the model-value property.
Default Orientation
Landscape Orientation
INFO
Landscape orientation only works on medium screen size and above.
Color Style
<bs-date-picker> colors can be customize using the surface-color and header-color property.
TIP
Any MDBootstrap Color variants and Material Color variants can be be applied to the <bs-date-picker> component.
Picker Selection Modes
Use mode property to change the Date Picker view mode and selection mode. Date selection mode is the default selection.
Date mode
DateTime mode
Month mode
Year mode
Time mode
CSS Variables
Added since v2.0.0scss
--md-datepicker-border-radius: .375rem;
--md-datepicker-padding-x: 1rem;
--md-datepicker-padding-y: 1rem;
--md-datepicker-header-color: #fff;
--md-datepicker-table-header-color: #6c757d;
--md-datepicker-title-font-size: 1.8rem;
--md-datepicker-subtitle-font-size: 1.25rem;