Usage
import { Button } from '~/components/button';import { Button } from '~/components/button';<Button variant="outline">Button</Button><Button variant="outline">Button</Button>Link
You can use the buttonVariants helper to create a link that looks like a button.
import { buttonVariants } from '~/components/button';import { buttonVariants } from '~/components/button';<Link className={buttonVariants({ variant: 'outline' })}>Click here</Link><Link className={buttonVariants({ variant: 'outline' })}>Click here</Link>Alternatively, you can set the asChild parameter and nest the link component.
<Button asChild>
<Link href="/login">Login</Link>
</Button><Button asChild>
<Link href="/login">Login</Link>
</Button>