Button
A configurable action control with text, icons, sizing, surface, haptic, and icon-animation options.
A configurable action control with text, icons, sizing, surface, haptic, and icon-animation options.
Public API
FButtonFButtonLabelFButtonModifierFButtonStyleFButtonIconAnimationFButtonIconTapAnimation
Example
FButton(
style: .primary,
horizontalSizingMode: .fillContainer,
title: "Continue",
rightIcon: "arrow.right",
haptic: .light
) {
continueFlow()
}
Source
This reference follows Sources/FreakUI/Components/Actions/FButton.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.