About
A searchable dropdown for choosing an AI model, grouping options by provider and showing each model's capabilities, context window, speed and price.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Model Selector to your project and fits it to your theme.
Code
How Model Selector is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { ModelSelector } from "@/components/ui/model-selector";
export default function ModelSelectorDemo() {
return (
<div className="flex min-h-[460px] w-full items-start justify-center bg-[#f7f3ea] p-10 text-[#171717] dark:bg-[#111111] dark:text-[#ededed]">
<ModelSelector />
</div>
);
}
















