Kevin Mendoza

Input

Import

import { Input } from 'sveltekev';

Type

Type text

Type password

Required

Required

*

With label

*

Placeholder

Label

Size

Radius

Color

Shadow

API

ATTRIBUTE

TYPE

DEFAULT

type

'text' | 'passowrd'

"text"

required

boolean

false

placeholder

string

"Placeholder"

label

string | null

null

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