Fruits
Fruits

Scratchpad

200
Person Avatar
200
M
250
Person Avatar
250
MM
300
Person Avatar
300
MM
400
Person Avatar
400
MM
500
Person Avatar
500
MM
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
Person Avatar
L
L
N
H
LE
LF
NG
HH
AI
MJ
ZK
ML
ZM
CN
AO
IP
LQ
PR
LS
ST

A sentence goes here with an inline and even an inline Badge and a chip without actionable parts Chip and stuff

DtBox V1

Padding + Surface Combos

as Prop Variants

DtBox renders as different HTML elements via the as prop. Inspect elements to verify the rendered tag.

Padding Cascade

Specific axes override shorthand: paddingInline overrides padding for left/right, paddingBlockStart overrides paddingBlock for top.

Nested Inheritance Isolation

@property registrations prevent custom property inheritance. Inner boxes should NOT inherit outer padding or surface.

Surface Opaque Variants

Opaque surfaces use solid colors instead of alpha transparency, preventing bleed-through on layered backgrounds.

Utility Class Escape Hatch

DtBox accepts standard class attributes for one-off styling that falls outside its prop API. Utility classes compose naturally with the component.

DtBox

Basic padding + surface
Padding cascade
Polymorphic as
Nested inheritance isolation
Positioning props
Card compositions
Shadow scale
Border radius variants
No border props = invisible border
Layout token sizing
Class escape hatch for arbitrary sizing
Overflow + borderRadius clipping
Scrollbar integration