Jenga Link
A tappable text link: brand-coloured and underlined by convention, the way a hyperlink reads. The caller decides what a tap does (open a URL through the platform LocalUriHandler, navigate, and so on), so the link stays framework-agnostic and cannot leak a URL type into the design system.
It carries no ripple: an inline link should feel like text, not a button. It reserves no 48dp layout box, so it fits a tight row (e.g. a section header action); taps just outside a small link still reach it through Compose's minimum touch target.
Parameters
the link label.
invoked when the link is tapped; not called while disabled.
the Modifier for this link.
the TextStyle; defaults to JengaLinkDefaults.textStyle.
the link colors; defaults to JengaLinkDefaults.colors.
whether the link responds to taps and uses its enabled color.
whether the label is underlined (the link affordance).
optional icon before the label; inherits the link color.
padding around the icon and label.
Samples
JengaLink(
text = "Privacy policy",
onClick = {},
)