Skip to content

Placeholder

The Placeholder component displays a content placeholder with customizable size and height.

A placeholder block
import { Placeholder } from '@fintech-sandpit/ui/react';
return (
<Placeholder
variant="solid"
className="h-20"
>
A placeholder block
</Placeholder>
);
NameTypeDefaultDescription
variantPlaceholderVariantsubtleVariant of the placeholder
type PlaceholderVariant = 'subtle' | 'solid'