Kokonut UI

Sliced Text

Text 7

About

An animated text that splits into two horizontal halves and slices apart on hover.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Sliced Text to your project and fits it to your theme.

Code

How Sliced Text is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import SlicedText from "@/components/ui/sliced-text";

export default function SlicedTextDemo() {
  return (
    <div className="flex min-h-[300px] w-full items-center justify-center bg-background p-8">
      <SlicedText
        text="Sliced Text"
        className="text-6xl font-bold text-foreground"
        splitSpacing={4}
      />
    </div>
  );
}

Dependencies

More by Kokonut UI

View all
  • Background Paths

    Background Paths

    5.7K
  • Shape Landing Hero

    Shape Landing Hero

    3.5K
  • Beams Background

    Beams Background

    2.8K
  • Bento Grid

    Bento Grid

    2.2K
  • v0 AI Chat

    v0 AI Chat

    2.1K
  • AI Voice Input

    AI Voice Input

    1.7K
  • Hand Writing Text

    Hand Writing Text

    1.3K
  • Action Search Bar

    Action Search Bar

    1.3K

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Motion Blur Text

    Motion Blur Text

    34
  • Text Reveal

    Text Reveal

    313
  • Rainbow Text Effect

    Rainbow Text Effect

    46
  • Blur Reveal

    Blur Reveal

    296
  • Shine Border

    Shine Border

    947
  • NeonRGBTextEffect

    NeonRGBTextEffect

    144
  • Blur Reveal

    Blur Reveal

    65