Skip to content

Card

A flexible content container for all sort of layouts.

Updates

color BSColor (nil)
Set the color of the background of the card.
borderColor BSColor (nil)
Set the color of the border.
isContentCenter boolean (false)
If the card should center all of it's children.
title string (nil)
A basic Card Title you can set. Will be hidden if nil.
text string (nil)
A basic Card text you can set. Will be hidden if nil.

Example

{
  title = "My brand new card",
  text = "And a short message,\nto all my fans!",
}

{
  title = "Card Title",
  text = "Card Text",
  isContentCenter = true,
  color = "primary",
  borderColor = "secondary",
}

See Also