← Component library

Inline Calendar Popover

Free

A slash command opens a five-day scheduling calendar inside an email draft. The cursor picks an available time.

Type
Calendar picker
Category
Product UI & Devices
Appearance
Light UI, Restrained
Editorial role
UI walkthrough, Workflow step
Motion
Cursor movement, Panel reveal
Duration
3.38 s · 24 fps
Source film
Meet Notion Mail · Notion

Customize

Use this component

npx shadcn add @betterframes/schedule-popover

This Canvas module needs no npm packages. The usage example includes your edits.

Download .mjsDownload preview
import { draw } from './schedule-popover.mjs';

// On each frame, pass this clip’s elapsed time in seconds.
// Coordinates use a 640 × 360 drawing area.
export function render(ctx, seconds) {
  ctx.save();
  ctx.scale(ctx.canvas.width / 640, ctx.canvas.height / 360);
  ctx.clearRect(0, 0, 640, 360);
  draw(ctx, seconds, {});
  ctx.restore();
}
Component source