Money Geek UI Components
BadgeBest RankingBoxBox typesBox colorsAlignmentFull widthTemplatesBreakLineButtonColumn Range ChartColumnsCompany Cross LinkingCompany LogoContent ValidatorExpand/CollapseIconList RankingOrderedListPlaygroundPremiumRankingPros/ConsQuoteQuote ButtonQuotesWidgetReadmeStar RankingState Cross LinkingStaticPremiumTableStaticTable

Box

className
string
"box-outlined box-primary"
float
string
fullWidth
bool
false
unsetHeight
bool
false
children
undefined │ string

Box types

There are two types of boxes:

  • Outlined box (box-outlined) 🠔 this is the default.
  • Solid box (box-solid)

Use one of them like this:

Box colors

By default a Box is set with a primary color, but it can also be a secondary one. When using box-solid, the color (primary or secondary) will be used as the background color instead the border color.

Alignment

Since we are using the Columns component as a wrapper for the boxes, they can be aligned to the left, center or right. That depends on how we manage the columns from the container. We recommend that you read the documentation related to the Columns component to understand more about how it works.

Full width

It's possible to set the box to use the full width of the page with the fullWidth attribute. This feature is useful for infographics.

Templates

Right box alignment

4 boxes premium comparison

3

4