Select

A select component with search functionality.

View on GitHub

Usage

Comboxbox extends the Input component. All props from Input are available.

import { Select } from '@nerdfish/ui'
import Image from 'next/image'
<Select
	name="framework"
	label="Framework"
	emptyString="No frameworks found"
	placeholder="Select a framework"
	options={[
		{ value: 'next.js', label: 'Next.js' },
		{ value: 'sveltekit', label: 'SvelteKit' },
		{ value: 'nuxt.js', label: 'Nuxt.js' },
		{ value: 'remix', label: 'Remix' },
		{ value: 'astro', label: 'Astro' },
		{ value: 'vite', label: 'Vite' },
		{ value: 'snowpack', label: 'Snowpack' },
		{ value: 'sapper', label: 'Sapper' },
		{ value: 'gatsby', label: 'Gatsby' },
	]}
/>