PyBlade/ui
Menu⌄
DocsComponentsCalendar

Calendar

A month grid to pick a date, localized, with min and max and arrow-key navigation.

Alpine.js1 file

Installation

pyblade-ui add calendar

Usage

The tag <pb-ui.calendar> is available in all your templates.

<pb-ui.calendar name="day" value="2026-10-13" locale="fr-FR" :week_start="1" class="rounded-md border" />

Examples

Limited dates

In French, week starting on Monday

Props

PropDefault
value''
name''
locale'en-US'
week_start0
min''
max''

Any other attribute (class, id, x-on:click, hx-post…) is passed to the root element; your Tailwind classes win over the component's.