snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
17
apps/v4/examples/base/button-with-icon.tsx
Normal file
17
apps/v4/examples/base/button-with-icon.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { IconGitBranch, IconGitFork } from "@tabler/icons-react"
|
||||
|
||||
import { Button } from "@/styles/base-nova/ui/button"
|
||||
|
||||
export default function ButtonWithIcon() {
|
||||
return (
|
||||
<div className="flex gap-2">
|
||||
<Button variant="outline">
|
||||
<IconGitBranch data-icon="inline-start" /> New Branch
|
||||
</Button>
|
||||
<Button variant="outline">
|
||||
Fork
|
||||
<IconGitFork data-icon="inline-end" />
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user