mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
Squash merge of shadcn-ui/ui main branch into hanzo/ui, bringing in: - [email protected] through [email protected] releases - New apps/v4 directory structure - Registry system improvements and MCP server - Framework support (Vue, Svelte, React Native) - New templates (vite-app, monorepo-next, laravel) - Zod 4 compatibility (scoped override for zod@>4) - Test fixture corrections for alias resolution All 867 merge conflicts resolved preserving Hanzo customizations. 1020/1020 shadcn tests pass.
33 lines
984 B
TypeScript
33 lines
984 B
TypeScript
import { ArrowUpRightIcon } from "lucide-react"
|
|
|
|
import { Button } from "@/registry/new-york-v4/ui/button"
|
|
|
|
export default function ButtonSize() {
|
|
return (
|
|
<div className="flex flex-col items-start gap-8 sm:flex-row">
|
|
<div className="flex items-start gap-2">
|
|
<Button size="sm" variant="outline">
|
|
Small
|
|
</Button>
|
|
<Button size="icon-sm" aria-label="Submit" variant="outline">
|
|
<ArrowUpRightIcon />
|
|
</Button>
|
|
</div>
|
|
<div className="flex items-start gap-2">
|
|
<Button variant="outline">Default</Button>
|
|
<Button size="icon" aria-label="Submit" variant="outline">
|
|
<ArrowUpRightIcon />
|
|
</Button>
|
|
</div>
|
|
<div className="flex items-start gap-2">
|
|
<Button variant="outline" size="lg">
|
|
Large
|
|
</Button>
|
|
<Button size="icon-lg" aria-label="Submit" variant="outline">
|
|
<ArrowUpRightIcon />
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|