Kevin Mendoza

Select

Import

import { Select } from 'sveltekev';

Options

Placeholder

Size

Radius

Color

Shadow

API

ATTRIBUTE

TYPE

DEFAULT

options

{ label: string, value: string }[]

[{ value: 'Option 1', label: '1' }, { value: 'Option 2', label: '2' }]

placeholder

string

"Placeholder"

size

'xs' | 'sm' | 'md' | 'lg' | 'xl'

"md"

radius

'none' | 'sm' | 'md' | 'lg' | 'full'

"none"

color

'black' | 'white' | 'gray' | 'none' | 'default' | 'primary' | 'secondary' | 'success' | 'warning'| 'danger'

"default"

shadow

0 | 1 | 2 | 3

0