Systra Tools

Slice Rise Type

Component

About

A letter-by-letter sliced text reveal with a replayable demo. Part of the MIT-licensed Systra Free UI collection (systra.tools).

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

Code

How Slice Rise Type is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { useState } from "react";
import { SliceRiseType } from "@/components/ui/slice-rise-type";
const settings = { text: "A little less ordinary." };
export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  const [replay, setReplay] = useState(0);
  return (
    <div className="flex min-h-[420px] w-full flex-col items-center justify-center gap-10 bg-neutral-50 p-6 text-neutral-900 dark:bg-neutral-900 dark:text-neutral-100 sm:p-8">
      <div className="w-full max-w-2xl text-center">
        <SliceRiseType key={replay} text={s.text} className="text-3xl font-semibold tracking-tight sm:text-5xl" />
      </div>
      <button type="button" onClick={() => setReplay(v => v + 1)} className="rounded-lg border border-neutral-300 px-4 py-2 text-xs font-medium text-neutral-700 hover:bg-neutral-100 focus-visible:outline-2 focus-visible:outline-offset-4 dark:border-neutral-600 dark:text-neutral-200 dark:hover:bg-neutral-800" aria-label="Replay animation">↻ Replay animation</button>
    </div>
  );
}

Dependencies

More by Systra Tools

View all
  • Diagonal Review Drift

    Diagonal Review Drift

    1
  • Drifting Particle Cloud Hero

    Drifting Particle Cloud Hero

    1
  • Faq Tabbed Section

    Faq Tabbed Section

    1
  • Tear Off Button

    Tear Off Button

  • Scroll Measure Line

    Scroll Measure Line

  • Masked Word Rise

    Masked Word Rise

  • Pixel Dissolve Button

    Pixel Dissolve Button

  • Fold Corner Button

    Fold Corner Button