Box

Polymorphic scalable component.

General

Polymorphic property

Provide an element to render the Box as.

Scalability

Use props to scale the Box.

APIs

Box.Props

AttributeDescriptionTypeAccepted valuesDefault
asrender modeReact.ElementType'span', 'p', 'form', ...div
...scale propsScaleProps'width', 'px', 'font', ...-
...native propsHTMLAttributes'id', 'className', ...-