This component no longer exists. It was in PaceUI GSAP’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-06 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
Modal Selector
paceui-gsap/ai-modal-selectorRemovedComponent
AI-focused model selector with preview, tooltips, and capability indicators built-in
Live preview
live · rendered by the registry
Rendered by PaceUI GSAP on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://gsap.paceui.com/r/ai-modal-selector.jsonSource
1"use client";23import { ComponentProps, ReactNode, useMemo, useState } from "react";45import {6 BrainIcon,7 CodeIcon,8 EyeIcon,9 FileSearch2Icon,10 LanguagesIcon,11 LayersIcon,12 SpeechIcon,13 VariableIcon,14 VideoIcon,15 Wand2Icon,16 WrenchIcon,17} from "lucide-react";1819import { cn } from "@/lib/utils";2021import { Swap } from "@/components/gsap/swap";22import { Button } from "@/components/ui/button";23import {24 DropdownMenu,25 DropdownMenuContent,26 DropdownMenuItem,27 DropdownMenuTrigger,28} from "@/components/ui/dropdown-menu";29import { ScrollArea } from "@/components/ui/scroll-area";30import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";3132type ModalCapability =33 | "vision"34 | "thinking"35 | "code"36 | "speech"37 | "search"38 | "tools"39 | "multimodal"40 | "video"41 | "math"42 | "multilingual"43 | "creativity";4445export type ModalOption = {46 value: string;47 image: string;48 name: string;49 darkInvertImage?: boolean;50 description: string;51 capabilities: ModalCapability[];52};5354type ModalSelectorProps = ComponentProps<typeof Button> & {55 showCapabilities?: boolean;56 showDescription?: boolean;57};5859const modals: ModalOption[] = [60 {61 value: "openai-gpt-4o",62 image: "https://unpkg.com/@lobehub/icons-static-svg@latest/icons/openai.svg",63 name: "GPT-4o",64 darkInvertImage: true,65 description: "Omni model supporting seamless text, audio, and vision integration.",66 capabilities: ["vision", "code", "speech", "tools", "multimodal"],67 },68 {69 value: "google-gemini-2-0-pro",70 image: "https://unpkg.com/@lobehub/icons-static-svg@latest/icons/gemini-color.svg",71 name: "Gemini 2.0 Pro",72 description: "Next-generation performance with ultra-long context windows.",73 capabilities: ["vision", "thinking", "speech", "tools", "video"],74 },75 {76 value: "anthropic-claude-3-5-sonnet",77 image: "https://unpkg.com/@lobehub/icons-static-svg@latest/icons/claude-color.svg",78 name: "Claude 3.5 Sonnet",79 description: "Industry-leading intelligence with a focus on coding and nuance.",80 capabilities: ["thinking", "code", "vision", "tools"],81 },82 {83 value: "xai-grok-3",84 image: "https://unpkg.com/@lobehub/icons-static-svg@latest/icons/grok.svg",85 name: "Grok-3",86 darkInvertImage: true,87// … truncated
What it pulls in
npm packages
Other registry items
