Buttons
Button
A button or a component that looks like a button.
Installation
Usage
import { Button } from "@/components/ui/button";<Button>Button</Button>Link
You can use the render prop to make another component look like a button. Here's an example of a link that looks like a button.
import Link from "next/link";
import { Button } from "@/components/ui/button";
export function LinkAsButton() {
return <Button render={<Link href="/login" />}>Login</Button>;
}Variants
Sizes
Extra small
Small
Large
Extra Large