Catalog review with the designer
17 марта 2026 г., 11:00 — 12:00
The Polyot room
Calendar
A meeting card with a tear-off date sheet: in a feed of events the eye hunts for the number, not for "17 March 2026".
put this in the header: https://vibeui.ru/c/calendar-010?lang=en
17 марта 2026 г., 11:00 — 12:00
The Polyot room
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
# Install and place "calendar-010" (Event Card) from VibeUI
## 1. Install first — do not skip, do not recreate
Run this exact command before writing any code:
npx shadcn@latest add https://vibeui.ru/r/calendar-010.json
Registry item: https://vibeui.ru/r/calendar-010.json
Installs to: components/vibeui/calendar-010.tsx (the exact path follows this project's components.json aliases).
npm dependencies: none.
Registry dependencies: none.
Install it from the registry. Do not recreate it from the description,
do not substitute a similar component from another library, and do not
rewrite it to match the project's existing style.
## 2. What it is
A meeting card with a tear-off date sheet: in a feed of events the eye hunts for the number, not for "17 March 2026".
An event card: a tear-off sheet with the date, the title, time, place and a stack of attendee initials. Zero dependencies, one file, no client JS.
## 3. How to use it
import { Calendar010 } from "@/components/vibeui/calendar-010"
<Calendar010 title="Catalog review" date="2026-03-17" time="11:00 — 12:00" />
Read the installed file for the full prop list.
## 4. Where to place it
This is a small inline component. Put it exactly where the user asked,
inside the existing markup. Do not create a new page, section or
wrapper for it. If a similar control already sits in that spot,
replace it instead of adding a second one.
Placement: ___
(The user fills this line in. If it is still blank, ask where to put it
instead of guessing.)
## 5. Keep exactly as installed
- the local --vibeui-calendar-010-* palette — do not swap it for your theme tokens
- the sheet with a large number: that is what a feed reader looks for
- the full date in the text beside it — a sheet without month and year is ambiguous
- the aria-label listing attendees: initials are useless aloud
- the border-drawn clock and pin instead of an icon package
- the name-derived avatar hue: one person always keeps one colour
## 6. You may change
- title, date, time and place
- the people array
- the accent through the accent prop — the month on the sheet
- the card width
## 7. Rules
- The date arrives as an ISO string treated as local: state the event's time zone separately.
- Time is a string: the component neither parses nor validates "11:00 — 12:00".
- More than five attendees do not fit the stack: fold the tail into a counter as in avatar-003.
- Do not lift the CSS variables into globals.css: the component has to stay a single file.
## 8. Verify
- it renders with no console errors;
- it looks like the preview on the VibeUI page you copied this from;
- if it does not, you changed something listed in section 5 — put it back.npx shadcn@latest add https://vibeui.ru/r/calendar-010.jsonhttps://vibeui.ru/r/calendar-010.jsonКомпонент самодостаточен: один файл, без зависимостей, собственная палитра в локальных переменных --vibeui-calendar-010-*. Серверный: хуков нет. Дата разбирается из строки ISO и печатается тремя частями листка через Intl. Участники — инициалы на оттенке из имени (FNV-1a по двенадцати ступеням круга), полные имена уходят в aria-label стопки. Часы и метка нарисованы бордюрами.
The same file your agent installs. Here in case you would rather copy it by hand.
import type { ComponentPropsWithoutRef, CSSProperties } from "react"
export type Calendar010Props = Omit<
ComponentPropsWithoutRef<"div">,
"children"
> & {
title?: string
date?: string
time?: string
place?: string
people?: string[]
accent?: string
}
// Идея компонента: карточка встречи — то, что видно в приглашении и в списке
// событий. Дата вынесена отрывным листком слева: в ленте из десяти карточек
// глаз ищет число, а не строку «17 марта 2026». Участники — инициалы стопкой,
// имена целиком есть в подписи для скринридера.
const STYLES = `
:where([data-vibeui-block="calendar-010"]){
--vibeui-calendar-010-bg:oklch(1 0 0);
--vibeui-calendar-010-fg:oklch(0.24 0.014 265);
--vibeui-calendar-010-muted:oklch(0.58 0.014 265);
--vibeui-calendar-010-border:oklch(0.91 0.006 265);
--vibeui-calendar-010-accent:oklch(0.55 0.17 265);
--vibeui-calendar-010-font:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
[data-vibeui-block="calendar-010"]{
display:flex;gap:0.875rem;
width:100%;max-width:22rem;box-sizing:border-box;padding:0.875rem;
background:var(--vibeui-calendar-010-bg);
border:1px solid var(--vibeui-calendar-010-border);border-radius:0.875rem;
color:var(--vibeui-calendar-010-fg);font-family:var(--vibeui-calendar-010-font);
}
/* Отрывной листок: число крупно, месяц мелко — в ленте ищут именно число. */
[data-vibeui-block="calendar-010"] [data-part="sheet"]{
display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;
width:3.25rem;padding:0.4375rem 0;border-radius:0.625rem;
border:1px solid var(--vibeui-calendar-010-border);
background:oklch(0.98 0.002 265);
}
[data-vibeui-block="calendar-010"] [data-part="month"]{
font-size:0.625rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
color:var(--vibeui-calendar-010-accent);
}
[data-vibeui-block="calendar-010"] [data-part="day"]{
font-size:1.375rem;font-weight:680;line-height:1.1;font-variant-numeric:tabular-nums;
}
[data-vibeui-block="calendar-010"] [data-part="weekday"]{font-size:0.625rem;color:var(--vibeui-calendar-010-muted)}
[data-vibeui-block="calendar-010"] [data-part="body"]{display:flex;flex-direction:column;gap:0.25rem;min-width:0}
[data-vibeui-block="calendar-010"] [data-part="title"]{
margin:0;font-size:0.9375rem;font-weight:650;line-height:1.25;
}
[data-vibeui-block="calendar-010"] [data-part="line"]{
display:flex;align-items:center;gap:0.375rem;
font-size:0.8125rem;color:var(--vibeui-calendar-010-muted);
}
[data-vibeui-block="calendar-010"] [data-part="clock"]{
position:relative;flex:none;width:0.75rem;height:0.75rem;
border:1.5px solid currentColor;border-radius:9999px;
}
[data-vibeui-block="calendar-010"] [data-part="clock"]::after{
content:"";position:absolute;left:50%;top:0.125rem;width:1.5px;height:0.25rem;
margin-left:-0.75px;background:currentColor;
}
[data-vibeui-block="calendar-010"] [data-part="pin"]{
position:relative;flex:none;width:0.75rem;height:0.75rem;
border:1.5px solid currentColor;border-radius:9999px 9999px 9999px 0;
transform:rotate(-45deg);
}
[data-vibeui-block="calendar-010"] [data-part="people"]{display:flex;align-items:center;margin-top:0.1875rem}
[data-vibeui-block="calendar-010"] [data-part="face"]{
display:flex;align-items:center;justify-content:center;flex:none;
width:1.5rem;height:1.5rem;border-radius:9999px;
box-shadow:0 0 0 2px var(--vibeui-calendar-010-bg);
background:oklch(0.93 0.04 var(--vibeui-calendar-010-hue,250));
color:oklch(0.38 0.08 var(--vibeui-calendar-010-hue,250));
font-size:0.625rem;font-weight:700;
}
[data-vibeui-block="calendar-010"] [data-part="face"] + [data-part="face"]{margin-left:-0.4375rem}
@media (prefers-reduced-motion:reduce){[data-vibeui-block="calendar-010"] *{animation:none!important;transition:none!important}}
`
function hue(name: string) {
let hash = 2166136261
for (const symbol of name) {
hash ^= symbol.codePointAt(0)!
hash = Math.imul(hash, 16777619)
}
return ((hash >>> 0) % 12) * 30
}
function initials(name: string) {
return name
.split(" ")
.slice(0, 2)
.map((part) => part[0]?.toUpperCase() ?? "")
.join("")
}
/**
* Карточка встречи: отрывной листок с датой, время, место и участники.
* Один файл, ноль зависимостей, собственная палитра.
*/
export function Calendar010({
title = "Разбор каталога с дизайнером",
date = "2026-03-17",
time = "11:00 — 12:00",
place = "Переговорная «Полёт»",
people = ["Анна Петрова", "Марк Ильин", "Мария Гурова"],
accent,
className,
style,
...props
}: Calendar010Props) {
const value = new Date(`${date}T00:00:00`)
const month = new Intl.DateTimeFormat("ru-RU", { month: "short" }).format(
value,
)
const weekday = new Intl.DateTimeFormat("ru-RU", { weekday: "short" }).format(
value,
)
const full = new Intl.DateTimeFormat("ru-RU", { dateStyle: "long" }).format(
value,
)
const palette = {
...(accent ? { "--vibeui-calendar-010-accent": accent } : null),
...style,
} as CSSProperties
return (
<>
<style href="vibeui-calendar-010" precedence="medium">
{STYLES}
</style>
<article
{...props}
data-vibeui-block="calendar-010"
className={className}
style={palette}
>
<div data-part="sheet" aria-hidden="true">
<span data-part="month">{month.replace(".", "")}</span>
<span data-part="day">{value.getDate()}</span>
<span data-part="weekday">{weekday}</span>
</div>
<div data-part="body">
<h3 data-part="title">{title}</h3>
<p data-part="line">
<span data-part="clock" aria-hidden="true" />
<span>
{full}, {time}
</span>
</p>
{place ? (
<p data-part="line">
<span data-part="pin" aria-hidden="true" />
{place}
</p>
) : null}
{people.length ? (
<p
data-part="people"
aria-label={`Участники: ${people.join(", ")}`}
>
{people.map((person) => (
<span
key={person}
data-part="face"
aria-hidden="true"
style={
{
"--vibeui-calendar-010-hue": hue(person),
} as CSSProperties
}
>
{initials(person)}
</span>
))}
</p>
) : null}
</div>
</article>
</>
)
}