Skip to content

Components

Calendar

A date grid for picking a single day.

Usage

Basic

November 2026
SuMoTuWeThFrSa
HTML
<bs:bsui-calendar />

Named for a form

The chosen day posts with the surrounding form under this name.

November 2026
SuMoTuWeThFrSa
HTML
<bs:bsui-calendar name="booking_date" />

Inside a card

Framed with a heading and a confirming action, the way a booking step reads.

Choose a day

Slots open at nine in the morning.

November 2026
SuMoTuWeThFrSa
HTML
<bs:bsui-card>
  <bs:bsui-card-header>
    <bs:bsui-card-title label="Choose a day" />
    <bs:bsui-card-description label="Slots open at nine in the morning." />
  </bs:bsui-card-header>
  <bs:bsui-card-content>
    <bs:bsui-calendar name="booking_date" />
  </bs:bsui-card-content>
  <bs:bsui-card-footer>
    <bs:bsui-button label="Confirm booking" />
  </bs:bsui-card-footer>
</bs:bsui-card>

Behind a popover

The grid stays out of the layout until the trigger asks for it.

HTML
<bs:bsui-popover>
  <bs:bsui-popover-trigger trigger_label="Choose a date" trigger_variant="outline" />
  <bs:bsui-popover-popup>
    <bs:bsui-calendar name="due_date" />
  </bs:bsui-popover-popup>
</bs:bsui-popover>

Attributes

AttributeTypeDefault
name text —