The shadcn Select with a rolling value and disabled options that explain why.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/notchset/select";
const models = [
{ value: "atlas-3-flash", label: "Atlas 3 Flash" },
{ value: "atlas-3", label: "Atlas 3" },
];
export function ModelSelect() {
const [model, setModel] = React.useState("atlas-3-flash");
return (
// onValueChange skips an empty choice, so the same code types in the Base UI and Radix builds.
<Select value={model} onValueChange={(v) => v && setModel(v)} items={models}>
{/* A combobox is never named by its text: give the trigger a name (or a <label> pointing at it). */}
<SelectTrigger aria-label="Model" meta="$0.0007 / RUN">
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectItem value="atlas-3-flash" meta="1.9S P50" tag="DEFAULT">
Atlas 3 Flash
</SelectItem>
<SelectItem value="atlas-3" meta="3.2S P50">
Atlas 3
</SelectItem>
</SelectContent>
</Select>
);
}"use client";
import * as React from "react";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/notchset/select";
export function ModelSelect() {
const [model, setModel] = React.useState("atlas-3-flash");
return (
<Select value={model} onValueChange={setModel}>
<SelectTrigger aria-label="Model" meta="$0.0007 / RUN">
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectItem value="atlas-3-flash" meta="1.9S P50" tag="DEFAULT">
Atlas 3 Flash
</SelectItem>
<SelectItem value="atlas-3" meta="3.2S P50">
Atlas 3
</SelectItem>
</SelectContent>
</Select>
);
}Select items–
{ value, label }[] or a mapLabels for the rolling value.
SelectTrigger meta–
ReactNodeA reading at the trigger's end.
SelectItem meta / tag / disabledReason–
ReactNode / ReactNode / stringThe row's detail, its tag, and why it's off.
SelectNote–
spanThe line under it; shows a disabled option's reason.
SelectTriggerdata-slot="select-trigger"
The trigger.
SelectContentdata-slot="select-content"
The panel.
SelectItemdata-slot="select-item"
An option.
components/ui/notchset/select.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/select.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/select.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @notchset registry added, @notchset/<name> picks for you.
pnpm add @base-ui/react@^1The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-02
First release