Success
Solara has 4 types of alerts:
Display a success message (green color).
@solara.component
def Success(
label: Optional[str] = None,
icon: Union[bool, str, None] = True,
dense=False,
outlined=True,
text=True,
children=[],
classes: List[str] = [],
**kwargs,
):
...
Arguments
label
: the message to displayicon
: if True, display a check icon, if False, don't display an icon, if a string, display the icon with that name (Overview of available icons).dense
: if True, display the message in a dense format, using less vertical height.outlined
: if True (default), display the message in an outlined border, instead of a filled box.text
: if True (default), display the message in a text format, which applies a semi-transparent background.classes
: additional CSS classes to apply.
Example
This is solara.Success(label='...', text=True, dense=False, outlined=True, icon=True)