Reflex Cloud - Fast, secure & scalable hosting. One command to deploy.

Callout

A callout is a short message to attract user's attention.

You will need admin privileges to install and access this application.

The callout component is made up of a callout.root, which groups callout.icon and callout.text parts. This component is based on the div element and supports common margin props.

The callout.icon provides width and height for the icon associated with the callout. This component is based on the div element. See the icon component for all icons that are available.

The callout.text renders the callout text. This component is based on the p element.

As alert

Style

Size

Use the size prop to control the size.

You will need admin privileges to install and access this application.

You will need admin privileges to install and access this application.

You will need admin privileges to install and access this application.

Variant

Use the variant prop to control the visual style. It is set to soft by default.

You will need admin privileges to install and access this application.

You will need admin privileges to install and access this application.

You will need admin privileges to install and access this application.

Color

Use the color_scheme prop to assign a specific color, ignoring the global theme.

You will need admin privileges to install and access this application.

You will need admin privileges to install and access this application.

You will need admin privileges to install and access this application.

High Contrast

Use the high_contrast prop to add additional contrast.

You will need admin privileges to install and access this application.

You will need admin privileges to install and access this application.

API Reference

rx.callout

A short message to attract user's attention.

Basic Callout

PropType | ValuesDefaultInteractive
text
str
icon
str
as_child
bool
size
"1" | "2" | ...
variant
"soft" | "surface" | ...
color_scheme
"tomato" | "red" | ...
high_contrast
bool

Event Triggers

See the full list of default event triggers

rx.callout.root

Groups Icon and Text parts of a Callout.

You will need admin privileges to install and access this application.

PropType | ValuesDefaultInteractive
as_child
bool
size
"1" | "2" | ...
variant
"soft" | "surface" | ...
color_scheme
"tomato" | "red" | ...
high_contrast
bool

rx.callout.icon

Provides width and height for the icon associated with the callout.

Props

No component specific props

rx.callout.text

Renders the callout text. This component is based on the p element.

Props

No component specific props