Actions
Text link
The underlined action under a story: Continue reading, Learn more. The underline fades on hover rather than appearing.
components/coach/text-link.tsx
Examples
Anatomy
- 0153 Extended, 12px
- 021px underline, 4px offset
Usage
import { TextLink } from "@/components/coach/text-link";
<TextLink href="/stories/coffee">Continue reading</TextLink>
<TextLink href="/stories/fall" tone="light">Continue reading</TextLink>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| href* | LinkProps['href'] | — | Where it goes. It is a next/link. |
| tone | "dark" | "light" | "dark" | Light for links set on photography. |
| ...props | ComponentProps<typeof Link> | — | Anything next/link accepts. |
Guidance
Do
- Keep labels to two or three words.
- Place it last in a story's text stack.
Don't
- Use it inside running text; body links are plain underlines.