Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA large glass prism with three to six faces, built with CSS 3D and viewed from slightly above, that turns to show one photo per face. Each vertical bevel is a light-catching edge whose width and chromatic red-to-cyan fringe grow with the rotation speed, the faces darken as they turn away, and a closed dark-glass cap tops the solid. Drag or swipe with inertia, use the arrow keys, buttons or dots, or let it autoplay; reduced motion switches faces without easing.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { PrismFaceCarousel } from "@/components/hyperblur-pro/prism-face-carousel"
<PrismFaceCarousel faces={5} images={[{ src: "/a.jpg", title: "One", caption: "First face" }]} />| Prop | Type | Default | Description |
|---|---|---|---|
| images | { src: string; title: string; caption?: string }[] | 6 Unsplash photos | Photos in order; the first `faces` images are used, one per face. |
| faces | number | 4 | Number of prism faces, from 3 to 6. |
| accent | string | "#7ad7ff" | Glow, counter and active dot color. |
| background | string | "#06070d" | Section background. |
| faceWidth | number | 560 | Maximum width of one face in pixels. |
| tilt | number | 12 | Degrees the camera looks down on the prism, exposing the glass cap. |
| yaw | number | 24 | Resting yaw in degrees, so a second face and the bevel stay visible. |
| autoplay | number | 4200 | Milliseconds between automatic turns. 0 disables it; pauses on hover and drag. |
| fringe | number | 1 | Strength of the chromatic bevel highlight while rotating. |
Source code is included in Pro and above