Dillion Verma

Striped Pattern

Backgrounds

About

A customizable SVG background of diagonal striped lines that you can slant, dash, and mask with Tailwind CSS.

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

Code

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

Usage.tsx

import { StripedPattern } from "@/components/ui/striped-pattern"

export default function StripedPatternDemo() {
  return (
    <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border">
      <StripedPattern className="[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]" />
    </div>
  )
}

More by Dillion Verma

View all
  • Interactive Hover Button

    Interactive Hover Button

    3.4K
  • Rainbow Button

    Rainbow Button

    2.4K
  • Globe

    Globe

    2.2K
  • Animated Beam

    Animated Beam

    2K
  • Text Reveal

    Text Reveal

    1.7K
  • Sparkles Text

    Sparkles Text

    1.2K
  • Confetti

    Confetti

    1.2K
  • Interactive Icon Cloud

    Interactive Icon Cloud

    1.1K

More in Backgrounds

View all
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    548
  • Elegant Dark Pattern

    Elegant Dark Pattern

    844
  • Jade Sky

    Jade Sky

    93
  • Gradient Backgrounds

    Gradient Backgrounds

    22
  • Background snippets

    Background snippets

    21
  • LivingOrigami bg

    LivingOrigami bg

    143
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    228
  • Background Components

    Background Components

    16

Explore more

Part of Magic UI — browse the full library on 21st.dev.