Expand description
Button module - Gateway only
Structs§
- Active
- Marker component indicating button is currently active. Used for current tab in a tab bar, current page in navigation, etc. Active state takes visual precedence over Selected state. Can coexist with Selected component.
- Button
Builder - Builder for creating buttons with consistent styling
- Button
Builder With Marker - A ButtonBuilder with an attached marker component
- Button
Plugin - Button
Selection Colors - Color configuration for all button states. Auto-generated from ButtonStyle by default, but can be overridden.
- Selectable
Button - Marker component indicating this button supports selection/toggle behavior. Buttons with this component will automatically respond to clicks by toggling their Selected state (if auto_toggle is true).
- Selected
- Marker component indicating button is currently selected. Used for toggle buttons, checkboxes, or items in a list. Can be added/removed at runtime to change selection state.
- Selection
Changed - Message emitted when a selectable button’s selection state changes
- State
Color Set - Color set for a specific state (normal/selected/active). Contains colors for all interaction states (normal/hover/pressed).
- Styled
Button - Marker component for styled buttons
Enums§
- Button
Size - Button size variants
- Button
Style - Button style variants for consistent theming
Functions§
- danger_
button - Convenience function for creating a danger button
- ghost_
button - Convenience function for creating a ghost button
- primary_
button - Convenience function for creating a primary button
- secondary_
button - Convenience function for creating a secondary button
- success_
button - Convenience function for creating a success button