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.
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.ru/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…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
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…