Go Main page
Go Main page

Web components

cover

components

Empty State

v.1.0.0 | Saturn

Import

import { EmptyState } from '@kubit-ui-web/react-components'
1
<EmptyState variant="DEFAULT" subtitle={{ content: 'Subtitle' }} state="DEFAULT"/>

Props

Let's delve into the versatility of the emptyState component by examining all its avalaible props.

PropertyTypeDefaultDescription
variant
Required
String-Variant of EmptyState
state
Required
String-State of the variant
subtitle
Required
EmptyStateSubtitleType-Subtitle content
titleEmptyStateTitleType-Title content
actionUrlString-Url where the link navigates
buttonEmptyStateButtonType-Button of empty state
iconIElementOrIcon-Add icon
illustrationIElementOrillustration-Add illustration
linkEmptyStateLinkType-Add link
dataTestIdString-Testing id
ctvEmptyStateVariantStylesType-Modify styles for the default version of the component