Skip to content
nexubDesign System
v11.9.0

Components · Data Display

Illustration

AlphaAdded v10.5.0

A spot illustration for an empty, error or full-page state, drawn in code so it follows the theme, dark mode and the product accent.

import { Illustration } from '@nexub/react';
View as Markdown

Playground

Props

size
TSX
<Illustration kind="noData" />

Examples

Default

Kinds

States

  • default
  • size="sm"
  • size="md"
  • size="lg"

Props

Props
PropTypeDefaultDescription
kindrequired'offline' | 'noData' | 'noResults' | 'noAccess' | 'serverError' | 'notFound' | 'maintenance'—Which drawing to show.
size'sm' | 'md' | 'lg''md'80, 120 or 160 CSS px wide.
titlestring—Names the drawing for assistive technology. Without it the drawing is decorative.

On iOS & Android