sigilUI

Exploded Box 3D

Separate a dimensional box into visible layers.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { ExplodedBox3D } from "@sigil-ui/components";

Usage

<ExplodedBox3D size={120} />

Props

PropTypeDefaultDescription
sizenumber80Size of the front/back square in px.
depthnumber22Depth of the side faces in px.
gapnumber10Gap between the separated faces in px.
variant"container" | "card" | "panel"containerPreset variant.
showLabelsbooleanfalseShow small face labels for diagram use.

Token integration

CSS VariablePurpose
--s-borderBorder
--s-shadow-smShadow sm
--s-border-strongBorder strong
--s-text-mutedText muted
--s-surfaceSurface
--s-textText