About
A bold patterned text component with an animated shadow effect for standout headings. Perfect for hero sections, titles, or anywhere you want striking typography.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pattern Text to your project and fits it to your theme.
Code
How Pattern Text is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PatternText } from "@/components/ui/pattern-text";
import { cn } from '@/lib/utils';
export default function DemoOne() {
return <div className="relative flex min-h-screen w-full flex-col items-center justify-center">
<div
aria-hidden="true"
className={cn(
'pointer-events-none absolute -top-10 left-1/2 size-full -translate-x-1/2 rounded-full',
'bg-[radial-gradient(ellipse_at_center,--theme(--color-foreground/.1),transparent_50%)]',
'blur-[30px]',
)}
/>
<PatternText text="21st.dev" />
</div>;
}
















