Box

About

The Box component makes it easy to create colored containers with rounded corners. They are meant to mirror the boxesarrow-up-right on our website but more optimized for mobile. Here's an example of Boxes in action:

Usage

These are the props for Box:

Prop Name
Required?
Description

color

Yes

The color of the box. Can be a color name like "blue" or a hex string like "#4287f5"

title

No

Title of your text box. It will be displayed at the top in bold and center-aligned.

txt

No

Any paragraph text you want to place in your text box.

Last updated