logo-icon
STW UI

Empty

Empty is used to when a List or Table has no items.

Usage

svelte
import { Empty } from 'stwui';
// OR
import Empty from 'stwui/empty'; // for tree shaking

Avatar Dropdown

No Projects

Get started by creating a new project.

Empty Slots

icon <Empty.Icon slot="icon" />
title <Empty.Title slot="title" />
description <Empty.Description slot="description" />
action <Empty.Action slot="action" />
default

Empty.Icon Props

data string (IconData)
viewBox string 0 0 24 24
size string 24px
width string 24px
height string 24px
color string currentColor
stroke string | undefined
fill string currentColor

Empty.Title Slots

default

Empty.Description Slots

default

Empty.Action Slots

default

Empty Class Identifiers

stwui-empty
stwui-empty-title
stwui-empty-description
stwui-empty-icon
stwui-empty-action