Gradient

src/components/gradient.tsx
import { clsx } from 'clsx'
export function Gradient({
className,
gradient = 'from-[var(--color-body2)] from-28% via-[var(--color-accent3)] via-70% to-[var(--color-accent3-dark)]',
...props
}: React.ComponentPropsWithoutRef<'div'> & {
gradient?: string
}) {
return (
<div
{...props}
className={clsx(className, 'bg-linear-115', gradient, 'sm:bg-linear-145')}
/>
)
}
export function GradientBackground({
gradient = 'from-[var(--color-body2)] from-28% via-[var(--color-accent3)] via-70% to-[var(--color-accent3-dark)]',
}: {
gradient?: string
} = {}) {
return (
<div className="relative mx-auto max-w-7xl">
<div
className={clsx(
'absolute -top-44 -right-60 h-60 w-xl transform-gpu md:right-0',
'bg-linear-115',
gradient,
'rotate-[-10deg] rounded-full blur-3xl'
)}
/>
</div>
)
}

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC