Hero Gradient Mesh

Motion

A dark hero on a layered radial gradient mesh with a scale in headline, supporting copy and high contrast launch and docs buttons for launch pages.

src/registry/premium/hero-gradient-mesh.tsx/r/hero-gradient-mesh.json

Installation#

bash
npx shadcn@latest add @minidev/hero-gradient-mesh

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/hero-gradient-mesh.json

Usage#

tsx
import { HeroGradientMesh } from "@/components/ui/hero-gradient-mesh"

export function Example() {
  return (
    <HeroGradientMesh />
  )
}

API reference#

HeroGradientMesh props
PropTypeDefault
classNamestring-

Dependencies#

npm

motion

Built from

Examples#

All Landing page sections for React and Tailwind

Learn more