Back to blocks
BlockAI & ChatFree

Model Picker Block React component

A model picker for an AI chat composer: a searchable menu grouped by provider with Auto, favorites, capability filters, New, Beta and locked Pro models, a detail panel with intelligence and speed meters, context and price, and a thinking effort switch that appears for reasoning models.

About the Model Picker Block component

Model Picker Block is the model switch you find in AI chat apps, built into a message composer. Open it and models are grouped by provider, with an Auto option at the top, your favorites pinned above everything and filters to show only models that can see images, use tools, reason or search the web.

Hover or arrow through the list and a side panel explains the model: how smart and fast it is, its context window, price and what it can do. Pick a reasoning model and a Low, Medium, High thinking switch appears next to it in the composer.

When to use it

Use it in AI chat products, internal assistants, playgrounds for testing prompts, or anywhere users choose between models or modes.

Keep the list short and name models by what they are good at; lock premium models instead of hiding them so people know an upgrade exists.

Installation

Add the Model Picker Block component to your project with the shadcn CLI. It lands in components/model-picker.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/model-picker

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More AI & Chat components

Prompt Library Block
Free
Agent Task Progress Block
Free
AI Chat Bubble Launcher
Free
AI Search Results Block
Free
Chat History Sidebar
Free
AI Chat Panel
$6