Select

PreviousNext

Displays a list of options for the user to pick from—triggered by a button with optional glassy variant.

Docs
glass-uicomponent

Preview

Loading preview…
lib/utils.ts
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs))
}

Installation

npx shadcn@latest add @glass-ui/select

Usage

import { Select } from "@/components/select"
<Select />