Search documentation...
K

Button

Displays a button or a component that looks like a button.

Preview

Usage

import { Button } from "natmfat/components/Button";
<Button>Button</Button>

Link

You can set the asChild parameter and nest the link component to create a link that looks like a button.
<Button asChild> <Link href="/login">Login</Link> </Button>

Reference

Prop

Type

Default

variant
"fill""noFill""outline"
"fill"
size
IconSize
tokens.space16
color
Color
loading
boolean
false
asChild
boolean
false