Status Components¶
Status components communicate application state, provide feedback, and guide users through processes. st_yled enhances these components with comprehensive styling options for alerts, progress indicators, and interactive feedback.
Available Elements¶
- success - Display success messages with custom styling
- info - Display informational messages with styling options
- warning - Display warning messages with attention-grabbing styling
- error - Display error messages with clear, attention-grabbing styling
- progress - Progress bars with custom styling and colors
Alert Components¶
success¶
Streamlit equivalent: st.success()
Display success messages with custom styling.
Supported Styling Properties:
color- Text colorfont_size- Font sizeborder_style- Border style (solid, dashed, dotted, none)border_color- Border colorborder_width- Border width (px, rem, em, or integer as px)
info¶
Streamlit equivalent: st.info()
Display informational messages with styling options.
Supported Styling Properties:
color- Text colorfont_size- Font sizeborder_style- Border style (solid, dashed, dotted, none)border_color- Border colorborder_width- Border width (px, rem, em, or integer as px)
warning¶
Streamlit equivalent: st.warning()
Display warning messages with attention-grabbing styling.
Supported Styling Properties:
color- Text colorfont_size- Font sizeborder_style- Border style (solid, dashed, dotted, none)border_color- Border colorborder_width- Border width (px, rem, em, or integer as px)
error¶
Streamlit equivalent: st.error()
Display error messages with clear, attention-grabbing styling.
Supported Styling Properties:
color- Text colorfont_size- Font sizeborder_style- Border style (solid, dashed, dotted, none)border_color- Border colorborder_width- Border width (px, rem, em, or integer as px)
Progress Components¶
progress¶
Streamlit equivalent: st.progress()
Progress bars with custom styling and colors.
Supported Styling Properties:
background_color- Progress bar color
Next Steps¶
Explore more st_yled features:
- Basic Styling Guide - CSS fundamentals
- Typography Examples - Real-world text styling patterns
st_yled with ❤️ from EVOBYTE