Live demo — this example is server-driven; run the showcase locally for the interactive version.
Date picker
A text input + calendar toggle. The runtime template renders the input + toggle and a slot for the calendar popup —
pair with Calendar month for the actual date selection.
Input group with the calendar toggle.
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Blur with an empty value shows the error helper.
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
The helper echoes the selected date.
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Dates outside 2026 flip the control and helper to error.
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Pick a date in 2026 (min 2026-01-01, max 2026-12-31).
The date must fall within 2026.
JJ/MM/AAAA with French labels; PF\u2019s controlled sections are React state demos.
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
JJ/MM/AAAA — format français. PF's three "controlled" sections are React state demos.
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Input and toggle disabled.
Bad input flips the form-control and helper text to the error state; picking from the calendar fixes it.
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
The date is invalid — pick one from the calendar.
YYYY-MM-DD
Input width via the PF width variable — a fixed 220px picker and a 12ch character-based one.
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Controlling the calendar state
An external button opens and closes the picker's calendar popover.
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Toggle calendar
Start and end pickers joined by "to" — picking a start date enables the end picker and pre-fills it with the next day.
(d.setDate(d.getDate() + 1), d.toISOString().slice(0, 10)))(new Date($event.detail)); document.getElementById('dp-range-to-input').value = to"
>
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
to
Sunday S
Monday M
Tuesday T
Wednesday W
Thursday T
Friday F
Saturday S
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
The "to" date must be after the "from" date
Documentation
Date picker props
Parameters accepted by
{#include components/forms/date-picker ... /}.
*
required
Name
Type
Description
* id
String
DOM id.
value / placeholder /
disabled / ariaLabel
String / boolean
Pass-through to the inner <input>.
slot calendar
Qute block
Calendar popup contents — typically a
Calendar month include.
Usage
Compose with Calendar month. The runtime template only renders the input + popup wrapper. Drop a
Calendar month into the calendar slot for the actual picker.