No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Illustration

An illustration compose an image with a background color. Use an illustration as an hero in a modal.

usage
import { Illustration } from "@sharegate/orbit-ui";
sources
Github

Usage

Default

An illustration renders horizontally by default.

Editable example

Vertical

An illustration can render vertically.

Planet over another planet
Editable example

Shape

An illustration can have a rounded shape.

Planet over another planet
Editable example

API

Illustration

usage
import { Illustration } from "@sharegate/orbit-ui";
slots
"image"
NameDescriptionDefault
children*
React children.
string | number | false | true | ReactElement<any, string | JSXElementConstructor<any>> | ReactFragment | ReactPortal
-
orientation
The orientation of the illustration.
"horizontal" | "vertical" | ResponsiveValue<"horizontal" | "vertical">
horizontal
shape
The illustration shape.
"rounded""straight"
"straight"
slot
Slot to render into.
string
-