Vibe UI
Initializing Vibe UI System...

Text 3D Flip

An interactive character animation rotating segments 90 degrees in 3D perspective space on hover.

Preview

HOVER ME TO SPINHHOOVVEERR MMEE TTOO SSPPIINN

Installation

pnpm dlx vibe-ui-kit@latest add text-3d-flip

Usage

import { Text3DFlip } from "@/components/ui/text-3d-flip"
<Text3DFlip>HOVER ME TO SPIN</Text3DFlip>

Props

PropTypeDefaultDescription
childrenReactNode""Text string to split and animate in 3D perspective space
staggerDurationnumber0.025Delay in seconds between character flips
rotateDirection"top" | "right" | "bottom" | "left""bottom"3D axis direction for character flip rotation
classNamestring?""Additional classes for the container

This Text3DFlip component dynamically rotates character segments 90 degrees in 3D perspective space on hover.

Global Configuration (CSS Styles)

Ensure that the following CSS utility configurations are declared inside your main stylesheet to support 3D transform layout configurations:

@utility transform-3d {
  transform-style: preserve-3d;
}

@utility backface-hidden {
  backface-visibility: hidden;
}

Contributors

JS
Jenish Sabhadiya

Theme Customizer

8px
@theme {
  --radius: 0.5rem;
  --glass-blur: 8px;
}
Changes apply instantly to this documentation workspace.
Text 3d Flip | Vibe UI