Patterns
Link Row
A tappable row that links somewhere — leading icon, title + description, trailing chevron. For support links, settings navigation, 'manage X' entries. External links open a new tab; internal use the adapter Link.
A tappable row that links somewhere: a leading icon, a title + description, and a trailing chevron. Use it for support links, settings navigation, "manage X" entries. External links open in a new tab via a plain anchor; internal ones route through the adapter Link. Presentation only.
Import
import { LinkRow } from "@yuhuanowo/yunui/patterns";
Example
Set external for a new-tab anchor; omit it to navigate internally through the adapter router.
LinkRow
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| description | ReactNode | — | |
| external | boolean | — | Open in a new tab via a plain anchor (default false → adapter Link). |
| href* | string | — | Destination. |
| icon | ReactNode | — | |
| title* | ReactNode | — |