Loading component…
Loading component…
A model picker – DeepSeek, GPT, Claude, Gemini and more with their marks, a pink band gliding to the picked one, its right edge and foot fading into the page.
To reuse this local React demo, copy all files from the Code tab into the same folder, then import ModelMenu from ./model-menu.
import { ModelMenu } from "@/components/ui/model-menu";
export function Hero() {
return (
<section className="relative">
<h1>Every frontier model, one place</h1>
<ModelMenu className="absolute right-0 top-24" />
</section>
);
}| Name | Type | Default | Description |
|---|---|---|---|
| models | MenuModel[] | The rows: name and logo (any node, about 16px) – DeepSeek, GPT, Claude Opus, Gemini, Mistral Large, Qwen and Llama by default | |
| title | string \| null | "Best models" | The quiet header above the rows – null leaves it out |
| selected | number | 1 | The picked row, where the band starts |
| playing | boolean | true | The band glides on to the next model now and then – false holds it on selected |
| hold | number | 2200 | How long the band stays on a model, in ms |
| walk | number | 3 | How many rows from the top the band walks through – the lower ones sit in the fade |
| className | string | Extra class on the root |
Fixed size, about 340 × 320px with its fades – scale it with zoom or a transform for smaller screens
Dark mode built in: switches when an ancestor (usually <html>) has the class dark or data-theme="dark"