Prism Hero

A glass prism hero with floating shards, depth, and cursor-reactive motion.

Customize

ADVERT

Overview

Prism Hero pairs a luminous glass prism with drifting shards and a layered backdrop to create a striking hero section. The copy floats above the scene with subtle parallax, keeping the focus on your message while adding depth. Use it for product launches, premium feature callouts, or polished landing pages.

Props

Use the props below to customise the prism hero in your own React application.

NameTypeRequiredDefaultDescription
titlestringYesDesign-led, glass prism UIMain headline shown above the prism scene, centered and sized for hero layouts.
accentTextstringNoA prism hero that leans with your cursor, with depth, glow, and calm motion.Supporting line below the title for a short product or brand message.
kickerstringNoPremium interactionSmall label above the headline that highlights the hero theme.
chipsstring[]No["Glass", "Depth", "Motion", "Three.js"]Optional list of quick feature chips shown below the subtitle.
ctaTextstringNoExploreLabel for the primary call-to-action button.
secondaryTextstringNoView detailsLabel for the secondary button styled like a link.
onCtaClick() => voidNoundefinedOptional click handler for the primary call-to-action.
onSecondaryClick() => voidNoundefinedOptional click handler for the secondary action.
classNamestringNoundefinedOptional custom class name for the root container to control layout or spacing.
colorsstring[]No["#0a0b14", "#7ec8ff", "#f8fbff"]Array of up to three colors used for the background gradients and glass tint.
intensitynumberNo1Overall brightness of the prism reflections and background glow.
tiltnumberNo1How strongly the prism tilts in response to pointer movement.
parallaxnumberNo1How much the prism and shards shift with cursor parallax.
minHeightnumber | stringNo520Minimum height for the hero section. Accepts a number (pixels) or any valid CSS height string.

Related React components

More components from the same category or sharing similar tags.