← Component library

Writing Tone Selector

Free

The camera moves into an editor toolbar as a click opens the paraphrasing panel and selects a writing style.

Type
Editing sidebar
Category
Product UI & Devices
Appearance
Light UI, Dark UI
Editorial role
UI walkthrough
Motion
Camera zoom, Cursor movement
Duration
5.63 s · 30 fps

Customize

Use this component

npx shadcn add @betterframes/tone-picker

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

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