affectUI › Illustrations › Card illustrations
Model Wheel
AI model names on a turning drum – the rows bend away at the edges and each model lands on a soft gray fill.
Free and open source (MIT). Install: npx shadcn@latest add https://www.affectui.com/r/model-wheel.json · Import from @/components/ui/model-wheel
When to use
- Feature cards about model choice, routing or "bring your own model"
- Landing pages that list supported AI providers in a calm, moving way
When not to use
- A real model picker – the wheel can be spun, but it doesn't report a choice
- Long lists – the drum shows about seven rows at a time
Usage
import { ModelWheel } from "@/components/ui/model-wheel";
export function FeatureCard() {
return (
<article style={{ maxWidth: 360 }}>
<ModelWheel />
<h3>Every model, one workspace</h3>
</article>
);
}Props
| Name | Type | Default | Description |
|---|---|---|---|
models | { name, viewBox, color, d }[] | 8 popular models | Models on the wheel, each with its brand mark as one SVG path; use at least 7 to keep the drum full |
hold | number | 1500 | Milliseconds a model stays in the middle |
label | string | "AI models on a turning wheel…" | Accessible description of the illustration |
className | string | Extra class on the root |
Accessibility
- Exposed as one image with a descriptive label; the rows are hidden from screen readers
- Hovering holds the wheel, so nothing moves while someone reads it
- Spinning by hand also works with touch; the automatic turn starts again after a short pause
Responsive
- Fixed height of seven rows; the width follows its container
- Light and dark mode via a .dark class or data-theme="dark"
Requirements
- React 19
Related
- Glow Keyboard – AI chat input that types itself over a glass keyboard – every key press sends a wave up the gradient floor
- Chat Composer – Prompt composer with model picker, voice input, app connections and approval request