Components
Empty

Empty

Import

import { VKEmpty } from "@vivakits/react-components";

When To Use

  • When no data is present in a list or table
  • To provide a friendly placeholder for empty states
  • To guide users on next steps when content is missing

Basic

A basic example of the VKEmpty component.

No Data Found

Description

An example of VKEmpty with a custom description.

This is a custom description for the empty state.

Custom Image

An example of VKEmpty with a custom image.

Custom Empty Image

Different Sizes

An example of VKEmpty with different sizes.

Extra Small

Small

Medium

Large

Extra Large

2X Large

Different Orientations

An example of VKEmpty with different orientations.

Horizontal

Horizontal Reverse

Vertical

Vertical Reverse

Empty Select Field

An example of VKSelect with an empty state.

Select

API Reference

AttributeTypeDescriptionDefault
descriptionstringCustom description text for the empty stateNo Data Found
customImageReactNodeCustom image to display in the empty state-
imageClassNamestringCustom styling for the image-
sizexssmmdlgxl2xlChanges the size of the empty statemd
orientationhorizontalverticalhorizontal-reversevertical-reverseChanges the orientation of the empty statevertical
classNamestringCustom class name for the container-
labelClassNamestringCustom class name for the description label-