A length of champagne satin, draped and slowly billowing, with a narrow sheen sliding along every fold. The cursor lifts the fabric as it passes.
A polished slab of dark marble with fine veins that wander and branch like real stone, and seams of gold that glint as a light drifts along them.
NOIR
Customize
Usage
import { GildedMarble } from "@/components/motionkit/gilded-marble";
<GildedMarble
className="h-[32rem] rounded-3xl"
>
<h1>Your hero</h1>
</GildedMarble>Motion
The exact curves this component runs, plotted with Motion's own maths.
Glint drifts
Runs on its own
Fashion and beauty houses, interiors and architecture, hotels and restaurants, and invitations or event pages that call for black tie.
Real marble veins wander and branch because the mineral deposits followed cracks. The shader imitates that by taking the sine of a gently sloped line plus fractal noise and keeping only the places close to zero, which gives thin lines that meander and split. Two scales of grey vein sit on a softly clouded stone. The gold seams are a sparser, wider set of the same lines, masked so they come and go, and coloured as metal with a fine grain and a glint from a light that drifts along them or follows the pointer.
| Prop | Type | Default | Description |
|---|---|---|---|
| colors | [string, string, string] | ["#141414", "#6E6A66", "#D4AF37"] | The stone, its fine veins and the gold. |
| gold | number | 0.5 | Amount of gold, 0 (none) to 1 (generous seams). |
| scale | number | 1 | Pattern size; lower is a larger, calmer slab. |
| speed | number | 1 | How fast the pattern drifts and the gold glints. 0 holds it still. |
| interactive | boolean | true | Let the gold catch the light under the pointer. |
| children | ReactNode | — | Your content, layered above. |
How we audit: the WCAG 2.2 animation checklist and respecting reduced motion in React.
Yes. The file starts with "use client", so you can import it straight into a Server Component page or layout. It works in Vite as is, and in Astro as a React island.
Nothing beyond React and Tailwind CSS v4. There is no MotionKit package and no Tailwind config to add.
Yes, with MotionKit Plus. Add the @motionkit registry and your personal token to components.json (the snippet is on your account page), then run npx shadcn@latest add @motionkit/gilded-marble. It saves the file to components/motionkit and installs its dependencies.
Gilded Marble is part of MotionKit Plus (£12 / $15 / €14 a month or £96 / $120 / €112 a year). The live preview and playground are free to explore; Plus unlocks its source code, every customisation control and commercial use.
With reduced motion on, the slab holds still, though the gold still catches the light under the pointer.
A length of champagne satin, draped and slowly billowing, with a narrow sheen sliding along every fold. The cursor lifts the fabric as it passes.
A WebGL shader of slow, folding liquid colour, like ink in water, with film grain and a swirl that follows the cursor.
Sunlight on the floor of a pool: a shifting web of light over deep water, edged with a faint rainbow, that swells as the cursor passes.
The live preview is free to explore. Plus unlocks the source for Gilded Marble and every other premium component.
Not ready for Plus? A free account unlocks 4 premium components, Depth Card, Rolling Text, Dot Wave and Confetti Button, with no card needed.
Customize
Usage
import { GildedMarble } from "@/components/motionkit/gilded-marble";
<GildedMarble
className="h-[32rem] rounded-3xl"
>
<h1>Your hero</h1>
</GildedMarble>Motion
The exact curves this component runs, plotted with Motion's own maths.
Glint drifts
Runs on its own
NOIR