Ali Imam

Radial Lines

Heroes 44

About

The component generates the specified number of lines with rotation angles, all using inline styles. You can customize the line count, colors, thickness, positioning, and container properties.

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

Code

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

Usage.tsx

import { RadialLines } from "@/components/ui/radial-lines";

export default function DemoOne() {
  return ( 
    <div className="relative flex h-[650px] w-full flex-col items-center justify-center overflow-hidden rounded-xl border bg-lime-700">
      <RadialLines 
        lineCount={100}
        lineColor="#fff200"
        lineThickness={1}
        opacity={1} 
      />
      <span className="absolute pointer-events-none z-10 text-center text-7xl leading-none font-semibold tracking-tighter whitespace-pre-wrap text-white">
        Radial Lines
      </span>
    </div>  
  )
}

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    953
  • Editorial Collage Hero

    Editorial Collage Hero

    451
  • Hero

    Hero

    1.3K
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    293
  • Aero Hero-3

    Aero Hero-3

    567
  • Hero Section with Responsive Navigation

    Hero Section with Responsive Navigation

    37