← Component library
Inline Calendar Popover
FreeA 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-popoverThis Canvas module needs no npm packages. The usage example includes your edits.
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();
}