Skip to content

Empty

Used to indicate when a resource is empty or unavailable.

Welcome back

You are logged in as John Doe.

import { Empty } from '@fintech-sandpit/ui/react';
import { faBoxOpen } from '@fortawesome/free-solid-svg-icons';
return (
<Empty
icon={faBoxOpen}
colorScheme="primary"
heading="No projects found"
description="Try another search or create a new project."
/>
);
NameTypeRequiredDefaultDescription
iconIconDefinitionfaCircleInfoThe icon to display in the empty state 1
iconBoxSizeCssUnit3remThe size of the icon
colorSchemeColorSchemeneutralThe color scheme of the empty state
headingstringThe heading text
descriptionstringThe description text

1. See Icons for the list of available icon definitions.

Slot nameDescription
defaultA custom content for the heading and description