Command
crenspire-glass-ui/commandFreeComponent
Fast, composable, unstyled command menu for React.
Live preview
live · rendered by the registry
Rendered by crenspire/glass-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://glass-ui.crenspire.com/r/command.jsonSource
1"use client"23import * as React from "react"4import {5 Command as BaseCommand,6 CommandDialog,7 CommandEmpty,8 CommandGroup,9 CommandInput,10 CommandItem,11 CommandList,12 CommandSeparator,13 CommandShortcut,14} from "@/components/ui/command"15import { cn } from "@/lib/utils"1617export interface CommandProps extends React.ComponentProps<typeof BaseCommand> {18 glow?: boolean19}2021/**22 * Glass UI Command - Enhanced command menu with glassy effects23 */24export const Command = React.forwardRef<25 React.ElementRef<typeof BaseCommand>,26 CommandProps27>(({ className, variant = "glass", glow = false, ...props }, ref) => {28 return (29 <BaseCommand30 ref={ref}31 variant={variant}32 className={cn(33 glow && "shadow-lg shadow-purple-500/20",34 className35 )}36 {...props}37 />38 )39})40Command.displayName = "Command"4142export {43 CommandDialog,44 CommandInput,45 CommandList,46 CommandEmpty,47 CommandGroup,48 CommandItem,49 CommandShortcut,50 CommandSeparator,51}52
What it pulls in
npm packages
Other registry items
Files it writes
More from crenspire/glass-ui
All 49 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | crenspire/glass-ui | Components | Free | 2 deps · 5 files | |
| Alertalert | crenspire/glass-ui | Components | Free | no deps · 5 files | |
| Alert Dialogalert-dialog | crenspire/glass-ui | Components | Free | 1 dep · 5 files | |
| Avataravatar | crenspire/glass-ui | Components | Free | 1 dep · 5 files | |
| Badgebadge | crenspire/glass-ui | Components | Free | no deps · 5 files | |
| Breadcrumbbreadcrumb | crenspire/glass-ui | Components | Free | 2 deps · 5 files | |
| Buttonbutton | crenspire/glass-ui | Components | Free | 1 dep · 5 files | |
| Button Groupbutton-group | crenspire/glass-ui | Components | Free | no deps · 5 files |
