button.tsx

src/components/button.tsx
import { Paragraph } from '@/components/paragraph'
import { Button as HeadlessButton } from '@headlessui/react'
import { clsx } from 'clsx'
import { Link } from '@/components/link'
import { Icon } from '@/components/icon'
const variants = {
primary: {
light: clsx(
'inline-flex items-center justify-center',
'rounded-full border border-transparent bg-contrast-dark shadow-md',
'text-body',
'disabled:bg-contrast-dark disabled:opacity-40 hover:bg-contrast',
'transition-colors duration-200'
),
dark: clsx(
'inline-flex items-center justify-center',
'rounded-full border border-transparent bg-body shadow-md',
'text-contrast-dark',
'disabled:bg-body disabled:opacity-40 hover:bg-body-light',

Showing the first 20 lines.

Get full code

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