Overriding a starter widget
Last registration wins. Override a starter widget by registering the same type string with your view. No fork of the package.
Published articles in this category. Tags stay on the article and as filters on the blog index; they do not get their own pages.
Last registration wins. Override a starter widget by registering the same type string with your view. No fork of the package.
Nesting is a widget that holds more widgets. Accordion is the starter example: decode children through the same registry.
Starter widgets are examples you can override: title block, image text card, banner, tag rail, stepper, accordion, separator, button row.
The registry is the only AnyView erasure point. WidgetView stays generic. WidgetContext is how a widget talks to state and actions.
Teach Flow-UI a new widget in three steps from your app: model the payload, write the SwiftUI view, register it.
A closed Codable enum of widgets cannot learn a type the binary does not name. An open registry can, and unknown types degrade instead of failing the page.
A SwiftUI component registry maps a backend type string to a payload model and a view. One register call. No framework enum of widgets.