Empty view
An empty, unavailable, or failed-state composition with optional recovery action.
An empty, unavailable, or failed-state composition with optional recovery action.
Public API
FEmptyView
Example
FEmptyView(
title: "No workouts",
subtitle: "Create your first workout to begin tracking progress.",
icon: "figure.strengthtraining.traditional",
actionTitle: "Create workout"
) {
createWorkout()
}
Source
This reference follows Sources/FreakUI/Components/Feedback/FEmptyView.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.