Hossain Jahed

Dot Text

Text 260

About

Canvas-powered dot matrix typography with dynamic text cycling, scramble and fade transitions, and customizable LED grid styles.

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

Code

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

Usage.tsx

"use client";

import React from "react";
import DotMatrixText from "@/components/ui/dot-text";

export default function DotMatrixDemo() {
  return (
    <div className="relative w-full min-h-[600px] h-screen bg-black flex items-center justify-center overflow-hidden select-none">
      
      {/* 1. Ambient Background Lighting */}
      <div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[400px] bg-primary/10 blur-[140px] rounded-full pointer-events-none" />
      <div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[400px] h-[200px] bg-sky-500/10 blur-[100px] rounded-full pointer-events-none" />

      {/* 2. Pure Dot Matrix Typography Stage */}
      <div className="relative z-10 w-full max-w-5xl px-6 h-56 md:h-80 flex items-center justify-center">
        <DotMatrixText
          text={["EaseMize", "Design", "Develop"]}
          transition="fade"
          cycleInterval={3000}
          dotSize={4}
          gap={2.5}
          activeColor="#ffffff"
          inactiveColor="rgba(255, 255, 255, 0.04)"
          showInactive={true}
          className="w-full h-full drop-shadow-[0_0_25px_rgba(255,255,255,0.4)]"
        />
      </div>

    </div>
  );
}

More by Hossain Jahed

View all
  • Spotlight Card

    Spotlight Card

    9.4K
  • Motion Footer

    Motion Footer

    6.1K
  • Cinematic landing Hero

    Cinematic landing Hero

    5.9K
  • Sign In

    Sign In

    4.8K
  • AI prompt Box

    AI prompt Box

    3.1K
  • Glassmorphism Trust Hero

    Glassmorphism Trust Hero

    2.9K
  • Limelight Nav

    Limelight Nav

    2K
  • Ai chat input

    Ai chat input

    2K

More in Text

View all
  • Motion Blur Text

    Motion Blur Text

    45
  • Rainbow Text Effect

    Rainbow Text Effect

    58
  • Text Reveal

    Text Reveal

    29
  • Blur Reveal

    Blur Reveal

    73
  • Short Slide Down

    Short Slide Down

    45
  • Apple Hello Effect

    Apple Hello Effect

    659
  • Scroll Fill Headline

    Scroll Fill Headline

    14
  • Blur Reveal

    Blur Reveal

    364