component
empty
Places ContentUnavailableView on registry surface, where rows appear.
emptyplaceholdercontent-unavailablestateshadcn

On iPad
The same installed source at a regular width. It adapts its layout without a separate design.


Install
With the sweetui tool (brew install mangobyte-dev/tap/sweetui):
sweetui install empty --destination Sources/YourFeature/ComponentsInstalls in order: empty 0.1.1. Point --destination at a folder inside the consuming target's sources.
Usage
ContentUnavailableView(
"No recent activity",
systemImage: "clock.arrow.circlepath",
description: Text("New transactions will appear here.")
)
.registryEmptyState()Accessibility contract
- Keeps ContentUnavailableView semantics (title, description, symbol, actions).
- Adds surface, padding, border; not interactive.
- Inherits Dynamic Type, color scheme, direction.
Details
| Kind | component |
| Version | 0.1.1 |
| Platforms | iOS 26.0+ |
| Dependencies | none |
| Source | Registry/sources/components/RegistryEmptyStateModifier.swift |
| Xcode preview | Empty State |