Hossain Jahed

Dot Text

Text 264

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.7K
  • Motion Footer

    Motion Footer

    6.3K
  • Cinematic landing Hero

    Cinematic landing Hero

    6K
  • Sign In

    Sign In

    5K
  • AI prompt Box

    AI prompt Box

    3.2K
  • Glassmorphism Trust Hero

    Glassmorphism Trust Hero

    2.9K
  • Ai chat input

    Ai chat input

    2.1K
  • Limelight Nav

    Limelight Nav

    2.1K

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    15
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Blur Reveal

    Blur Reveal

    401
  • Apple Hello Effect

    Apple Hello Effect

    692
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • NeonRGBTextEffect

    NeonRGBTextEffect

    156