Component Documentation
Date Picker
The Date Picker component is a styled trigger-based calendar popup that allows users to select single dates, ranges, or use predefined presets. It’s designed for use cases like filtering by date, setting a timeframe, or scheduling actions — all while keeping the UI clean and compact.
This component is made up of:
- Trigger Button – the interactive element that opens the calendar
- Popover – a floating container that displays the calendar when triggered
- Calendar Component – embedded inside the popover for date selection
Usage
- Drag the Date Picker component onto the canvas.
- Customize the trigger button label via the Component Properties panel.
- Integrate with your logic or external libraries to capture and use the selected dates.
This setup keeps the calendar hidden until needed, helping you preserve space while offering powerful date selection functionality.
GSAP powered interaction
This opening of the 'pick a date' part of this component uses Webflow’s new GSAP-powered Interactions. When the .popover_trigger is clicked, the .popover_content animates in. Clicking the trigger again hides it with the same smooth effect.