Calendar
Sidebar Mini
A fifteen-rem mini calendar for a sidebar: event dots sit under the numbers, and the fourth one and beyond collapse into a plus sign.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- the month and the year through month and year
- the events through events — a map of day to count
- the highlighted day through today
A link for your AI agent: preview, code and instructions.
Preview

Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/calendar-014?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Calendar014
year={2026}
month={3}
today={14}
events={{ 5: 2, 14: 3, 23: 5 }}
caption="All events"
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Link caption
caption· default: All events- Month
month· default: 3- Year
year· default: 2026- Current day
today· default: 14- Accent
accent· default: theme colour- Surface
background· default: theme colour
More in Calendar
FAQ
- How do I add Sidebar Mini with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Sidebar Mini depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Sidebar Mini?
- Adapt: the month and the year through month and year; the events through events — a map of day to count; the highlighted day through today. Keep as installed: the local --vibeui-calendar-014-* palette — swapping it for theme tokens breaks the match with the preview; dots under the number rather than behind it: in a thirty-pixel cell a fill would swallow the digit itself; the three-dot limit with a plus: four dots in a row merge into a bar at this width.
- Is Sidebar Mini free?
- Yes. The preview is open without an account; with a free account you can copy up to 20 components a month.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/calendar-014.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
A server component: there is no state, everything is computed from the year and month props and the events dictionary. The dots stand under the number rather than over it: a backing behind the digit in a thirty-pixel cell would swallow the digit itself. There are at most three dots, beyond that a plus is placed — four dots in a row twenty pixels wide merge into a bar. The weekday names are taken from Intl in the narrow variant using the reference week of 5–11 January 2026, so the week starts on Monday. Every cell with events carries an aria-label with the count and its grammatical form, so the dots do not remain purely visual information. Its own light background is mandatory: someone else's site sidebar can be any colour.
Tags
- calendar
- sidebar
- mini
- events
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…