Installation
npx solidui-cli@latest add button
Usage
import { Button } from "~/components/ui/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/ui/button"
<a class={buttonVariants({ variant: "outline" })}>Click here</a>