import { Button } from "natmfat/components/Button";
<Button>Button</Button>
asChild
parameter and nest the link component to create a link that looks like a button.
<Button asChild> <Link href="/login">Login</Link> </Button>
Prop | Type | Default |
---|---|---|
variant | "fill" "noFill" "outline" | "fill" |
size | IconSize | tokens.space16 |
color | Color | |
loading | boolean | false |
asChild | boolean | false |