Hexagon Pattern, Gradient Fade
Hexagon Pattern, Gradient Fade is a React and Tailwind CSS background component from Magic UI, licensed MIT. Copy it and paste it into your project.
Magic UI
MIT
backgrounds
What it is
Hexagon Pattern, Gradient Fade is a React and Tailwind CSS background component from Magic UI, licensed MIT. Copy it and paste it into your project.
How to use it
Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.
Five free copies a month. No card.
No packages beyond the project baseline
Licence
This component comes from Magic UI and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.
Hexagon Pattern, Gradient Fade
"use client"
import { cn } from "@/lib/utils"
import { HexagonPattern } from "@/registry/magicui/hexagon-pattern"
export default function HexagonPatternLinearGradient() {
return (
<div className="bg-background relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border p-20">
<HexagonPattern
radius={40}
x={-1}
y={-1}
className={cn(
"[mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)]"
)}
/>
</div>
)
}