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 icon prop allows an icon to be passed to the callout component. See the icon component for all icons that are available.

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