When to use it
Unsafe or relative links render inert text. Route in-app links yourself.
Apple availability
Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.
Native example
Unsafe or relative links render inert text. Route in-app links yourself.
import LumenUI
import SwiftUI
struct SourcesExample: View {
var body: some View {
HStack(spacing: 8) {
LumenSourceCitation("Lumen docs", href: "https://lumen.santi020k.com/docs")
LumenSourceCitation("Internal note", href: nil)
}
}
}Reference
The primary shared and platform-specific options exposed by LumenSourceCitation.
| API | Values or type | Default | Description |
|---|---|---|---|
| label / href | source name / absolute URL | required / required | Unsafe or relative links render inert text. |
Native behavior
Unsafe or relative links render inert text. Route in-app links yourself.
Link role only for safe http and https URLs.
Shared component