import { ChevronDown } from 'lucide-react' import { useId, type ComponentPropsWithRef } from 'react' import { Icon } from './Icon.tsx' import styles from './Select.module.css' export type SelectProps = Omit, 'id' | 'multiple'> & { label: string } // Pill dropdown: a native select on the surface fill with a chevron, always // associated with its label. Pass the options as children. export function Select({ label, className, children, ...rest }: SelectProps) { const id = useId() return (
) }