Date range + helpers component

I found that it was difficult to switch between common date ranges for reports, so I created a component in ReTool that I will be adding to most of my dashboards' headers.

Gif preview

I'm not able to share public components with my plan, so here's the JSON: retool-datepicker-helper.json · GitHub

2 Likes

I did something similar with a drop down options. It gives it a bit more flexibility to add options without taking up more space.


Timeframe.json (8.7 KB)

2 Likes

Huge fan of the dropdown. Was thinking of moving to that if the dashboard gets more used. Thanks for attaching :slight_smile:

Hey @bpmct , @bbedrin,
how do I import the json file into my retool project?! Sorry, probably quite a basic question...
Thank you!