me

@ QIR

me

Working @ QIR

  • home
  • about
  • projects
  • stacks
  • posts
  • contact
  • experimental
    • Server Action
    • Date Picker
    • Debounce
    • Recursive Tree

Made with Next.js, Tailwind, Sanity.

Date Picker

Date pickers from libraries are great for speed, but often I find I need more customization. It becomes more difficult to achieve once you 'leave the box,' so to speak. Here is an example of a basic calendar component that can be easily expanded upon.

Github
Select a data...
Sun
Mon
Tue
Wed
Thu
Fri
Sat
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

Selected date: