# Gilded Marble

> 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.

Category: Backgrounds · MotionKit Plus · Updated 2026-11-10 · Live demo: https://www.motionkitui.com/components/gilded-marble

## When to use it

Fashion and beauty houses, interiors and architecture, hotels and restaurants, and invitations or event pages that call for black tie.

## How it works

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.

## Installation

Part of MotionKit Plus (https://www.motionkitui.com/pricing). Subscribers install it with `npx shadcn@latest add @motionkit/gilded-marble` after adding their registry token from https://www.motionkitui.com/account.

## Props

| 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. |

## Accessibility

- **Keyboard: Not applicable.** Decorative, nothing to focus.
- **Screen readers: Pass.** The effect is hidden from assistive tech; only your content is read.
- **Reduced motion: Pass.** With reduced motion on, the slab holds still, though the gold still catches the light under the pointer.
- **Colour contrast: Pass.** The stone is dark and even: cream text measures 15:1 on it. Keep text off the gold seams.
