Available on crate feature
button only.Expand description
Buttons with consistent variants, sizes and states.
Re-exports§
Structs§
- Button
- A button builder. Convert it into an
Elementto render. - Colours
- Background, foreground and border colours for a variant in a state.
- Metrics
- Resolved dimensions for a
Size.
Enums§
Functions§
- button
- Creates a button with a text label.
- colours
- Resolves the colours of a variant for a given interaction state.
- padding_
x - Horizontal padding inside a button. A link has none, so its text lines up with the content around it, such as a card’s body above its footer.
- style
- The iced button style for a variant in a state.