Returns Calendar
Preview
Install
Add it with your package manager, or copy the source manually.
Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide
Download the release archive to your project root, then install the local file.
Import the shared styles once in your application.
API Reference
ReturnsCalendar
years?readonly number[]Row labels, one per row of `returns`.
[]returns?readonly (readonly number[])[]`returns[year][month]` in percent, twelve months per row.
[]class?string—v-model:selection?ReturnsCalendarSelection | nullControlled selection; null clears it.
undefineddefaultSelection?ReturnsCalendarSelection | null—labels?Partial<ReturnsCalendarMessages>Override any built-in string.
—@selection-change?(range: ReturnsCalendarProps['selection']) => void—#default?slotCompose `ReturnsCalendarGrid` (with `ReturnsCalendarTooltip` inside); omit it for the complete chart.
—ReturnsCalendarGrid
class?string—#default?slotOverlay content rendered inside the grid, normally `ReturnsCalendarTooltip`.
—ReturnsCalendarTooltip
class?string—#default?{ data: ReturnsCalendarTooltipData }Custom tooltip content for the hovered month, year, or the span being previewed.
—Updated