Airbnb-style multi-month calendar showing 2 or 3 months side by side.
Unlike DateRangePicker (two calendars in a popover), MultiMonthCalendar is always visible. The range band extends across months — range_start can be in month N while range_end is in month N+1.
Example
<.multi_month_calendar
year={2026}
month={3}
months_count={2}
range_start={@from}
range_end={@to}
on_select="pick_date"
on_prev="prev"
on_next="next"
/>
Summary
Functions
Attributes
year(:integer) (required)month(:integer) (required)months_count(:integer) - Defaults to2. Must be one of2, or3.range_start(:any) - Defaults tonil.range_end(:any) - Defaults tonil.on_select(:string) - Defaults tonil.on_prev(:string) - Defaults tonil.on_next(:string) - Defaults tonil.first_day(:atom) - Defaults to:sun. Must be one of:sun, or:mon.class(:string) - Defaults tonil.- Global attributes are accepted.