| name | ouds-ios-components-dialogs |
| description | Usage and code examples for OUDS iOS Dialogs components — OUDSAlertMessage (statuses, bullet list, link, dismiss) and OUDSInlineAlert (statuses, icon). Load the ouds-ios-framework-usage skill first for imports, themes and image rules. |
| license | MIT |
OUDS Dialogs components
Prerequisite: load ouds-ios-framework-usage first for imports, themes and image rules.
Alert Message
Statuses: neutral, accent, positive, info, warning, negative
OUDSAlertMessage(label: "Label")
OUDSAlertMessage(label: "Label", status: .warning, description: "Details") { }
OUDSAlertMessage(label: "Label",
status: .neutral(icon: OUDSImage(asset: Image("ic_heart"), renderingMode: .original)),
bulletList: ["A", "B"],
link: .init(text: "More", position: .bottom) {},
onClose: {})
Inline Alert
Statuses: neutral, accent, positive, info, warning, negative
OUDSInlineAlert(label: "Label")
OUDSInlineAlert(label: "Label", status: .warning)
OUDSInlineAlert(label: "Label", status: .accent(icon: OUDSImage(asset: Image("ic_heart"))))