Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI
Component Library
Browse and explore components
Datepicker
A Datepicker is a UI component that allows users to select a date from a calendar interface.
Default Datepicker
Sample Code
Show Code
Copy Code
Localization
Sample Code
Show Code
Copy Code
Limit The Date
Sample Code
Show Code
Copy Code
Week Start
Sample Code
Show Code
Copy Code
Autohide
Sample Code
Show Code
Copy Code
With Title
Sample Code
Show Code
Copy Code
API ( Datepicker )
Prop | Description | Type | Default |
---|---|---|---|
language | Sets the language of the datepicker. | 'pt-BR' | - |
labelTodayButton | Label for the "Today" button. | 'Hoje' | - |
labelClearButton | Label for the "Clear" button. | 'Limpar' | - |
minDate | The minimum selectable date. | Date(2023, 0, 1) | - |
maxDate | The maximum selectable date. | Date(2023, 3, 30) | - |
weekStart | Sets the first day of the week. | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 0 |
autoHide | Automatically hides the datepicker after selecting a date. | boolean | true |
title | Sets the title of the datepicker. | 'Flowbite Datepicker' | - |