Agenda
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardAgenda(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-agendaAbout this component
A today card drawn without words: each meeting is a row with a tiny clock showing its slice of the day, its people and one action; the one on now glows coral, and the dotted plus slides a mint focus block into the day.
Triggers
- Click
- State change
- Card
- Icon
Techniques
- CSS transition
- SVG
- State machine
- CSS variables
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A <section> with an aria-label that counts the events; each row is a group named with its title and time, and the plus is a native <button> with aria-pressed and an aria-label ("Add a focus block").
Reduced motion
The transitions and loops stop and the card jumps straight to its final state.
Use it in anything you build, commercial and client work included. Licence