When to use it
Unsafe or relative links render inert text. Route in-app links yourself.
Native example
Unsafe or relative links render inert text. Route in-app links yourself.
import androidx.compose.foundation.layout.*
import androidx.compose.runtime.*
import com.santi020k.lumen.*
@Composable
fun SourcesExample() {
FlowRow(horizontalArrangement = Arrangement.spacedBy(LumenSpacing.Xs)) {
LumenSourceCitation("Lumen docs", "https://lumen.santi020k.com/docs")
LumenSourceCitation("Offline source", null)
}
}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