← Component library

Live Hue Picker

Free

A rainbow hue slider changes the selected headline color on a split-screen design canvas.

Type
Color control
Category
Product UI & Devices
Appearance
Light UI, Bold typography
Editorial role
Feature demo, UI walkthrough
Motion
Cursor movement, Color shift
Duration
2.00 s · 25 fps
Source film
Your ideas, your apps—Base44 · Base44

Customize

Use this component

npx shadcn add @betterframes/theme-hue-slider

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

Download .mjsDownload preview
import { draw } from './theme-hue-slider.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