← Component library

Team Directory Carousel

Free

Profile cards advance along a horizontal organization chart. The active card opens to show its banner and contact controls.

Type
Profile carousel
Category
Galleries & Layouts
Appearance
Light UI, Restrained
Editorial role
UI walkthrough
Motion
Slide, Expand
Duration
2.50 s · 24 fps

Customize

Use this component

npx shadcn add @betterframes/people-rail

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

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