← Component library

Writing Persona Picker

Free

A pointer moves through four illustrated author profiles, highlighting the voice and tone of each one.

Type
Persona selection
Category
Agents & Prompts
Appearance
Illustrated, Light UI
Editorial role
Feature demo, UI walkthrough
Motion
Cursor movement, Highlight
Duration
5.00 s · 30 fps

Customize

Use this component

npx shadcn add @betterframes/voice-personas

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

Download .mjsDownload preview
import { draw } from './voice-personas.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