Skip to content

Reflection Text

Crisp typography meets a soft, fading reflection beneath the baseline.

LIVE PREVIEWInteract with the component
Just React. No extra dependencies.

Copy the component and its CSS module into your project.

CSS Modules

Usage

Matches your current playground settings.

jsx
import ReflectionText from "./ReflectionText";
export default function Example() {
return (
<ReflectionText
text={"Still waters."}
color={"#d9d2df"}
reflectionOpacity={0.3}
distance={8}
/>
);
}

Using Reflection Text

Use a short headline through text and set font size or weight with style. The reflection occupies normal layout space beneath the text.

The mirrored copy is decorative and hidden from assistive technology. Lower reflectionOpacity on light surfaces and adjust distance to separate the two baselines.

Props

NameTypeRequiredDefaultDescription
textstringNo""Text to display and reflect.
colorstringNo"#d9d2df"Text and reflection colour.
reflectionOpacitynumberNo0.3Reflected text opacity from zero to one.
distancenumberNo8Space between the original text and reflection in pixels.
classNamestringNo""Additional classes on the root element.
styleCSSPropertiesNoundefinedInline styles for sizing, typography and appearance.

Related components

Morphing Words

Text Effects

Words dissolve through a soft blur while the headline keeps its width.

Dot Matrix Text

Text Effects

Amber pinpoints form a crisp matrix display with a soft travelling pulse.

Scan Text

Text Effects

A warm scanning light brings a dim headline into focus.

Embossed Text

Text Effects

Sculpted metallic lettering catches the light as your pointer moves.