This component no longer exists. It was in ondo-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 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.
select
ondo-ui/selectRemovedComponent
Displays a list of options for the user to pick from—triggered by a button.
Install it
npx shadcn@latest add https://ui.ondo.dou.so/r/select.jsonSource
1"use client"23import * as React from "react"4import { Select as SelectPrimitive } from "@base-ui/react/select"56import { cn } from "@/lib/utils"7import { IconSelector, IconCheck, IconChevronUp, IconChevronDown } from "@tabler/icons-react"89type SelectSize = "xs" | "sm" | "default" | "lg" | "xl" | "2xl"1011const SelectSizeContext = React.createContext<SelectSize>("default")1213function Select<Value, Multiple extends boolean | undefined = false>({14 size = "default",15 ...props16}: SelectPrimitive.Root.Props<Value, Multiple> & { size?: SelectSize }) {17 return (18 <SelectSizeContext.Provider value={size}>19 <SelectPrimitive.Root {...props} />20 </SelectSizeContext.Provider>21 )22}2324function SelectGroup({ className, ...props }: SelectPrimitive.Group.Props) {25 return (26 <SelectPrimitive.Group27 data-slot="select-group"28 className={cn(29 "scroll-my-1 p-1 group-data-[size=xs]/select-content:p-0.5 group-data-[size=xl]/select-content:p-1.5 group-data-[size=2xl]/select-content:p-2",30 className31 )}32 {...props}33 />34 )35}3637function SelectValue({ className, ...props }: SelectPrimitive.Value.Props) {38 return (39 <SelectPrimitive.Value40 data-slot="select-value"41 className={cn("flex flex-1 text-left", className)}42 {...props}43 />44 )45}4647function SelectTrigger({48 className,49 size,50 children,51 ...props52}: SelectPrimitive.Trigger.Props & {53 size?: SelectSize54}) {55 const contextSize = React.useContext(SelectSizeContext)5657 return (58 <SelectPrimitive.Trigger59 data-slot="select-trigger"60 data-size={size ?? contextSize}61 className={cn(62// … truncated
What it pulls in
npm packages
Other registry items
