Spotlight

Spotlight is a centered, one column container with a large image or text. It provides curved surfaces (at the top and bottom) and places its content in the centre.

Examples

When used inside the Panel

Configuration

backgroundColor: string

Set the background color. Defaults to light grey.

textColor: string

Set the text color of the content. Defaults to blue if the background is light grey otherwise white if the background is blue

curvedTop: boolean

Toggle the top curve. Defaults to false

curvedBottom: boolean

Toggle the bottom curve. Defaults to false