Skip to content
nexubDesign System
v12.7.0

Components · Layout

Box

StableAdded v0.0.1

Generic container primitive with style token props.

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

Examples

Default

Content inside a Box

Nested

Section title

Nested box content

Props

Props
PropTypeDefaultDescription
asChildbooleanfalseMerges props onto the immediate child element (Radix Slot).

On iOS & Android