Iris Dots
imageProA field of colour dots hiding a photo; near the pointer they open like an iris and merge into the picture.
Introductory price until 31 December 2026. €79 after that.
Preview
Live demo. The theme switches the demo itself.
Code
The code is locked
Iris Dots 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/iris-dotsclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
IrisDotsProps
| Prop | Type | Default | What it does |
|---|---|---|---|
src required | string | – | The hidden image. |
alt required | string | – | What the image shows, for screen readers. |
columns | number | 30 | Dots across the width. Rows follow from the height, so the dots stay round at any size. |
radius | number | 170 | How far from the pointer dots start to open, in CSS pixels. |
intensity | number | 1 | 0 to 1: how fully the dots under the pointer open. At 1 they merge into one unbroken picture. |
dotSize | number | 0.34 | 0 to 1: the size of a resting dot, as a share of its cell. |
focus | { x: number; y: number } | { x: 0.5, y: 0.5 } | Where the image is anchored when it is cropped to fit, from 0 to 1 on each axis. |
idle | boolean | false | A slow wandering reveal while nobody is pointing, e.g. for a hero. |
className | string | – | – |
A11y
Keyboard
The image takes focus with Tab and opens at the centre. Arrow keys move the opening (Shift for bigger steps), Enter or Space toggles it and Escape closes it. The focus ring is always visible.
Screen reader
The wrapper is a group with the role description interactive image, named by the alt text and described by a hidden hint. The canvas inside is aria-hidden.
Reduced motion
Under reduced motion there is no loop and the picture snaps to its state. Otherwise the loop pauses while the effect is off screen.