Datepicker

Calendar interface for selecting and formatting dates.

TailwindCSS
Alpine.js

Usage

1. Add the script to your page/layout:

// Option A: All components (recommended)
@utils.ComponentScripts()

// Option B: Just Datepicker
@components.DatepickerScript()

2. Use the component:

@components.Datepicker(components.DatepickerProps{...})

Examples

With Label

Custom Placeholder

Selected Date

Disabled

Formats

Form