Tide Lines
backgroundProHairlines that bow toward the pointer and multiply as it nears the centre.
Introductory price until 31 December 2026. €79 after that.
Preview
Live demo. The theme switches the demo itself.
Code
The code is locked
Tide Lines is part of Manniche UI Pro. A key unlocks the source of all 66 effects.
Buy · €49€49 · Introductory price until 31 December 2026. €79 after that.
- One-off payment
- One developer
- Sign in and create your key straight away
- No VAT (§ 19 UStG)
Have a key? Get the code with the CLI or MCP.
The key lives in MANNICHE_PRO_KEY, never in your code or a URL. How to set it up
npx shadcn@latest add @manniche-pro/tide-linesclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
TideLinesProps
| Prop | Type | Default | What it does |
|---|---|---|---|
minLines | number | 14 | Fewest lines on screen, shown when the pointer is far from the centre or absent. |
maxLines | number | 72 | Most lines on screen, reached when the pointer sits in the middle. Containers narrower than about 700 px scale both numbers down. |
thickness | number | 1 | Stroke width in CSS pixels. |
color | string | – | Line colour. Any CSS colour, including var(--x). Defaults to the inherited text colour. |
background | string | 'var(--background)' | Background colour, also the colour the vignette fades into. Any CSS colour, including var(--x). |
curvature | number | 1 | How strongly the lines bow toward the pointer, from 0 (straight) to 2. |
follow | number | 1 | How quickly the lines follow the pointer, from 0.2 (heavy, slow) to 2 (snappy). 1 is a soft glide. |
vignette | number | 0.75 | Strength of the fade into the background around the edges, from 0 (none) to 1. |
children | ReactNode | – | Content drawn above the lines. |
aria-label | string | – | Accessible name. Give it when the effect carries meaning: the drawing becomes role="img" with this name (children stay accessible). Without it the effect is treated as decoration. |
className | string | – | – |
A11y
Screen reader
Decorative by default: the canvas is aria-hidden. An aria-label prop gives it role="img" and that name. Children sit above the canvas and stay reachable by screen readers and keyboard. The soft vignette on top is aria-hidden too.
Reduced motion
Under reduced motion one still frame is drawn and no pointer listeners are added. Otherwise the canvas animates only while it is on screen and the tab is visible.
Other
If the canvas cannot start, a gradient replaces it.