Filled Button

It is rendered with a solid background color, optional text and icons, and can execute an action when pressed. Styling includes colors, spacing, and interactive states like hover, press, and focus.

Constructors

FilledButton

FilledButton creates a new filled button with the given background color and action callback.


Methods

MethodDescription
Frame(frame Frame)Frame sets the layout frame of the button, including size and positioning.
PostIcon(svg core.SVG)PostIcon sets the icon displayed after the text label.
PreIcon(svg core.SVG)PreIcon sets the icon displayed before the text label.
TextColor(color Color)TextColor sets the text color of the button label.
Title(text string)Title sets the text label displayed on the button.

Related