This component no longer exists. It was in Pure UI’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-10 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.
button-group-select-demo
pure-ui/button-group-select-demoRemovedExample
Pure UI publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/MusKRI/pure-ui/main/public/r/button-group-select-demo.jsonSource
1"use client";23import * as React from "react";4import { ArrowRightIcon, ChevronsUpDownIcon } from "lucide-react";56import { Button } from "@/registry/pure-ui/ui/button";7import { ButtonGroup } from "@/registry/pure-ui/ui/button-group";8import { Input } from "@/registry/pure-ui/ui/input";9import {10 Select,11 SelectPopup,12 SelectItem,13 SelectTrigger,14 SelectValue,15 SelectList,16 SelectIcon,17} from "@/registry/pure-ui/ui/select";1819interface Currency {20 value: string;21 label: string;22}2324const CURRENCIES = [25 {26 value: "$",27 label: "US Dollar",28 },29 {30 value: "€",31 label: "Euro",32 },33 {34 value: "£",35 label: "British Pound",36 },37];3839export function ButtonGroupSelectDemo() {40 return (41 <ButtonGroup>42 <ButtonGroup>43 <Select44 defaultValue={CURRENCIES[0]}45 itemToStringValue={(currency) => (currency as Currency)?.value}46 >47 <SelectTrigger className="w-fit min-w-none">48 <SelectValue>{(currency: Currency) => currency.value}</SelectValue>49 <SelectIcon>50 <ChevronsUpDownIcon className="size-3.5" />51 </SelectIcon>52 </SelectTrigger>53 <SelectPopup className="min-w-48" alignItemWithTrigger>54 <SelectList>55 {CURRENCIES.map((curr) => (56 <SelectItem key={curr.value} value={curr}>57 {curr.value}{" "}58 <span className="text-muted-foreground">{curr.label}</span>59 </SelectItem>60 ))}61 </SelectList>62 </SelectPopup>63 </Select>64 <Input placeholder="10.00" pattern="[0-9]*" />65 </ButtonGroup>66 <ButtonGroup>67 <Button aria-label="Send" size="icon" variant="outline">68 <ArrowRightIcon />69 </Button>70 </ButtonGroup>71 </ButtonGroup>72 );73}
What it pulls in
Other registry items
