BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn-glass-ui/select-glass

Select Glass

shadcn-glass-ui/select-glass
FreeComponent

Glass-themed select dropdown with compound component API for flexible composition. * Built on @radix-ui/react-select for accessibility, keyboard navigation, and robust selection behavior. * * ## Features

Install it

npx shadcn@latest add https://raw.githubusercontent.com/artyhoo/shadcn-glass-ui-library/main/public/r/select-glass.json

Source

components/glass/ui/select-glass.tsxraw.githubusercontent.com/artyhoo/shadcn-glass-ui-library/main/public/r/select-glass.json · first 6 KB
1/**
2 * SelectGlass Component
3 *
4 * Glass-themed select dropdown with compound component API for flexible composition.
5 * Built on @radix-ui/react-select for accessibility, keyboard navigation, and robust selection behavior.
6 *
7 * ## Features
8 * - Compound API with 9 sub-components for maximum flexibility
9 * - Full shadcn/ui API compatibility (drop-in replacement)
10 * - Keyboard navigation (Arrow keys, Enter, Escape, Home/End)
11 * - Grouped options with labels and separators
12 * - Custom scroll buttons for long lists
13 * - Glass morphism styling with theme-aware CSS variables
14 * - Accessible ARIA attributes and focus management
15 * - Type-safe value handling with TypeScript generics
16 *
17 * ## CSS Variables
18 * - `--input-bg` - Trigger button background
19 * - `--input-border` - Trigger button border color
20 * - `--input-text` - Trigger button text color
21 * - `--dropdown-bg` - Content background
22 * - `--dropdown-border` - Content border color
23 * - `--dropdown-item-hover` - Item hover background
24 * - `--dropdown-item-text` - Item text color
25 * - `--dropdown-glow` - Content box shadow
26 * - `--text-secondary` - Scroll button icon color
27 *
28 * @example Basic usage
29 * ```tsx
30 * import { SelectGlass, SelectGlassTrigger, SelectGlassValue, SelectGlassContent, SelectGlassItem } from 'shadcn-glass-ui'
31 *
32 * <SelectGlass>
33 * <SelectGlassTrigger className="w-[180px]">
34 * <SelectGlassValue placeholder="Select a fruit" />
35 * </SelectGlassTrigger>
36 * <SelectGlassContent>
37 * <SelectGlassItem value="apple">Apple</SelectGlassItem>
38 * <SelectGlassItem value="banana">Banana</SelectGlassItem>
39 * <SelectGlassItem value="orange">Orange</SelectGlassItem>
40 * </SelectGlassContent>
41 * </SelectGlass>
42 * ```
43 *
44 * @example With groups and labels
45 * ```tsx
46 * <SelectGlass>
47 * <SelectGlassTrigger className="w-[200px]">
48 * <SelectGlassValue placeholder="Select a framework" />
49 * </SelectGlassTrigger>
50 * <SelectGlassContent>
51 * <SelectGlassGroup>
52 * <SelectGlassLabel>Frontend</SelectGlassLabel>
53 * <SelectGlassItem value="react">React</SelectGlassItem>
54 * <SelectGlassItem value="vue">Vue</SelectGlassItem>
55 * </SelectGlassGroup>
56 * <SelectGlassSeparator />
57 * <SelectGlassGroup>
58 * <SelectGlassLabel>Backend</SelectGlassLabel>
59 * <SelectGlassItem value="node">Node.js</SelectGlassItem>
60 * <SelectGlassItem value="python">Python</SelectGlassItem>
61 * </SelectGlassGroup>
62 * </SelectGlassContent>
63 * </SelectGlass>
64// … truncated

Facts

Registry
shadcn-glass-ui
Type
registry:ui
Access
Free
Files written
0
Licence
Apache-2.0
First indexed
2026-08-02
Last confirmed
today

Go to the source

yhooi2.github.io artyhoo/shadcn-glass-ui-library on GitHub Raw registry item This item as JSON

More from shadcn-glass-ui

All 76 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Alert Glassalert-glassshadcn-glass-uiComponentsFreeno deps
Animated Background Glassanimated-background-glassshadcn-glass-uiComponentsFreeno deps
Avatar Glassavatar-glassshadcn-glass-uiComponentsFreeno deps
Badge Glassbadge-glassshadcn-glass-uiComponentsFreeno deps
Base Progress Glassbase-progress-glassshadcn-glass-uiComponentsFreeno deps
Button Glassbutton-glassshadcn-glass-uiComponentsFreeno deps
Card Glasscard-glassshadcn-glass-uiComponentsFreeno deps
Checkbox Glasscheckbox-glassshadcn-glass-uiComponentsFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex