Components
CrystalBackdropText
Large animated background text layer for atmospheric section decoration.
CrystalBackdropText renders oversized text behind content as a decorative layer. Supports single and dual-layer variants with GSAP slide-in and scale animations. The text sits at very low opacity to avoid competing with foreground content.
Import
import { CrystalBackdropText } from '@artasce/crystal-ui';Usage
<div className="relative">
<CrystalBackdropText text="ARCHITECT" />
<div className="relative z-10">
<h2>Our Services</h2>
</div>
</div>Props
CrystalBackdropText Props
| Token | Variable | Value |
|---|---|---|
text | string | (required) |
variant | 'single' | 'dual' | 'dual' |
color | 'default' | 'amethyst' | 'amethyst' |
foregroundOpacity | number | 0.05 |
backgroundOpacity | number | 0.008 |
delay | number | 0 |
respectReducedMotion | boolean | true |
className | string | — |
Values update live with theme changes. Click any row to copy the CSS variable.
Variants
Dual (Default)
Two layers at different opacities and scales create depth:
<CrystalBackdropText text="DESIGN" variant="dual" />Single
A single text layer, simpler and lighter:
<CrystalBackdropText text="SYSTEMS" variant="single" foregroundOpacity={0.03} />