Kevin Mendoza

Chip

A Chip is a small block of essential information.

Import

import { Chip } from 'sveltekev';

Content

Content...

Size

size xs

size sm

size md

size lg

size xl

Radius

radius none

radius sm

radius md

radius lg

radius full

Color

black

white

gray

none

default

primary

secondary

success

warning

danger

Shadow

shadow 0

shadow 1

shadow 2

shadow 3

Icon

Kevin170597

API

ATTRIBUTE

TYPE

DEFAULT

content

string

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

icon

string

null