Saltar al contenido principal
Get Involved

Whether you are a developer, designer, writer, project builder, or just someone passionate about Cardano.

Boundary Box

Boundary Box​

<BoundaryBox> ensures consistent boundaries of its children on all screen sizes.

información

Usually you put everything inside a <BoundaryBox> except a <BackgroundWrapper>.

Props​

PropTypeDefaultDescription
childrennode-Content to keep inside the page boundary.
classNamestring-Extra class on the wrapper. Other props, such as id, are passed to the wrapper as well.

Example​

<BoundaryBox> is just a wrapper component. It is used to wrap other elements or components as shown:

<BoundaryBox>
This is how<br />
text looks like<br />
in a boundary box.
</BoundaryBox>

Result​

This is how
text looks like
in a boundary box.