snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
11
apps/v4/examples/aria/badge-link.tsx
Normal file
11
apps/v4/examples/aria/badge-link.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { ArrowUpRightIcon } from "lucide-react"
|
||||
|
||||
import { Badge } from "@/styles/aria-nova/ui/badge"
|
||||
|
||||
export function BadgeAsLink() {
|
||||
return (
|
||||
<Badge render={(props) => <a {...props} href="#link" />}>
|
||||
Open Link <ArrowUpRightIcon data-icon="inline-end" />
|
||||
</Badge>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user