Skip to main content

SpotIllustration

Small line art for empty states and onboarding; takes the container's hue (data-hue / data-signature).

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When to use​

Small line art for empty states and onboarding; takes the container's hue (data-hue / data-signature).

Accessibility​

Communicates the situation in words and offers a clear next step; not reliant on illustration alone.

Install and import​

npx shadcn@latest add @prism/spot-illustration
import { SpotIllustration } from '@/components/prism/SpotIllustration';

In a no-build prototype, read it from the bundle instead: const { SpotIllustration } = window.PrismDesignSystem_39d121;

Props​

PropTypeRequiredDescription
nameSpotIllustrationName—Which drawing. Default "inbox".
size"sm" | "md" | "lg"—sm 96px · md 128px (default) · lg 176px wide (4:3).
titlestring—Makes it an image with this accessible name. Without it the drawing is decorative (aria-hidden).
classNamestring—