Model chips with provider logos drifting past in one or two rows, fading at the edges. Hover holds it.
Used for
- Supported models strip
- Provider logo marquee
- Model-agnostic claim
- Landing page footer band
Examples
Rows
Installation
npx knowns-ui@latest add model-reelFor Claude Code, Cursor or Codex: installs it and wires the props to your own data.
Paste this into your coding agent (Claude Code, Cursor, Codex). It checks your project, sets up the registry, runs the install and verifies it.
Install prompt
Install Model reel from Knowns UI into this project. Work step by step, show me each change, and ask before you edit files outside this project.
Context: Knowns UI (https://ui.knowns.dev) is a shadcn registry. Items land in the project as source files. Docs: https://ui.knowns.dev/docs/model-reel
1. Check the project first. Stop and tell me if any of these is missing:
- React 19 and Tailwind CSS v4.
- A components.json at the project root. If there is none, ask me before running `npx knowns-ui@latest init --no-key` (it runs shadcn init when needed, then adds the registries).
2. Run:
```bash
npx knowns-ui@latest add model-reel
```
It writes these files:
- lib/knowns/run.ts
- lib/knowns/json.tsx
- lib/knowns/status.ts
- lib/knowns/tone.ts
- lib/knowns/types.ts
- lib/knowns/use-abortable.ts
- lib/knowns/utils.ts
- components/ui/knowns/illustrations/illust-utils.ts
- components/ui/knowns/illustrations/use-in-view.ts
- lib/knowns/icons/actor-icon.tsx
- lib/knowns/icons/model-icons.tsx
- lib/knowns/icons/tool-icons.tsx
- lib/knowns/icons/model-icons.data.ts
- lib/knowns/icons/tool-icons.data.ts
- lib/knowns/icons/LICENSES.md
- components/ui/knowns/illustrations/model-reel.tsx
and installs these npm packages: clsx@^2.1.1, tailwind-merge@^3.7.0.
3. While it runs:
- It also adds a few @keyframes (all named kn-*) to the global CSS file (globals.css or the file components.json points at). Let it: they only add animations.
- If it asks to overwrite files under lib/knowns/: these are shared by every Knowns UI item. List them, say whether I changed them (check git), and ask me before you answer.
- If it asks to overwrite any other file, show me the diff and ask me.
4. Verify:
- Every file in the list above exists.
- The project type-checks (for example `npx tsc --noEmit`) and the dev build has no new errors.
5. Use it: follow the examples and props on https://ui.knowns.dev/docs/model-reel, and ask me if anything about my data is unclear.
If the Knowns UI MCP server is connected (https://ui.knowns.dev/docs/ai-and-mcp), use get_component({ name: "model-reel" }) or search_docs for details.
Finish with a short summary: the files you added or changed, the packages you installed, and anything I still need to do.Props
- models
{ name, model?, icon? }[]- Default
Claude, GPT, Gemini, Llama… - Chips with provider logos (modelIcon).
- rows
1|2- Default
1 - Two rows run in opposite directions, offset by half the list.
- duration
number- Default
32 - Seconds for one pass. Hover holds it.
- paused
boolean- Default
false - Hold the reel.
- label
string- Default
"Works with …" - Accessible description.
- Motion
-- CSS only (transform, opacity, stroke-dashoffset). Pauses offscreen, in hidden tabs and on paused; prefers-reduced-motion shows a still, composed frame.
| Prop | Type | Default | Description |
|---|---|---|---|
| models | { name, model?, icon? }[] | Claude, GPT, Gemini, Llama… | Chips with provider logos (modelIcon). |
| rows | 1 | 2 | 1 | Two rows run in opposite directions, offset by half the list. |
| duration | number | 32 | Seconds for one pass. Hover holds it. |
| paused | boolean | false | Hold the reel. |
| label | string | "Works with …" | Accessible description. |
| Motion | - | - | CSS only (transform, opacity, stroke-dashoffset). Pauses offscreen, in hidden tabs and on paused; prefers-reduced-motion shows a still, composed frame. |
What it handles
- 01Renders each `models` entry as a pill with a provider logo and the `name`, picking the logo from `model` or from the name.
- 02Runs one row, or two with `rows` set to 2, where the second row goes the opposite way and starts half-way through the list so the rows never line up.
- 03Repeats the list twice in a track and slides it by half, so the loop lands exactly on its start with no jump.
- 04Sets the time for one pass of the list through `duration` in seconds, 32 by default.
- 05Fades both edges with a mask, and holds the track still while the pointer is over it.
- 06Describes itself as one image with `label`, which by default lists the model names, and hides the moving pills from assistive tech.
States
- First render
- Nothing. It paints as it is
- none
- Drift
- The track slides left, or right on row two, in a long loop that runs on its own
- none
- Pointer over it
- The track stops where it is
- none, at once
- Offscreen, hidden tab or paused
- The track stops where it is
- none
- Reduced motion
- The animation is removed and one still row shows
- none
| State | What moves | Timing |
|---|---|---|
| First render | Nothing. It paints as it is | none |
| Drift | The track slides left, or right on row two, in a long loop that runs on its own | none |
| Pointer over it | The track stops where it is | none, at once |
| Offscreen, hidden tab or paused | The track stops where it is | none |
| Reduced motion | The animation is removed and one still row shows | none |
Works with
When to use
When to use
- A calm strip of supported models under a hero, in one or two rows.
When not to use
- Letting users pick a model: use Model Picker.
- Showing which model is active right now: use Model Orbit.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Model Reel to my app and wire it to my own data.
- I need a calm strip of supported models under a hero, in one or two rows. Set that up with the Knowns UI Model Reel.
- Which Model Reel props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "model-reel" }) and search_docs({ query: "model reel" }).