Skip to content

Illustration

The Illustration component displays various illustrations and graphics used throughout the Harness UI. It has built-in support for theme-specific variants.

Variations

Sizing

The Illustration component can be sized using the size prop which sets both width and height (default is 112px).

Theme support

Some illustrations have theme-specific variants. Use the themeDependent prop to enable theme-sensitive rendering.

Illustrations with specific light theme variants will use them automatically when the theme is set to light. For illustrations without a light variant, enabling themeDependent will apply an invert filter in light mode.

Installation

<Illustration name="no-data-folder" size={112} />