mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-08 14:35:09 +00:00
* feat: add base and radix docs * feat: transform code for display * fix * fix * fix * fix * fix * chore: remove claude files * fix * fix * fix * chore: run format:write * fix * feat: add more examples * fix * feat: add aspect-ratio * feat: add avatar * feat: add badge * feat: add breadcrumb * fix * feat: add button * fix * fix * fix * feat: add calendar and card * feat: add carousel * fix: chart * feat: add checkbox * feat: add collapsible * feat: add combobox * feat: add command * feat: add context menu * feat: add data-table dialog and drawer * feat: dropdown-menu * feat: add date-picker * feat: add empty * feat: add field and hover-card * fix: input * feat: add input * feat: add input-group * feat: add input-otp * feat: add item * feat: add kbd and label * feat: add menubar * feat: add native-select * feat: add more components * feat: more components * feat: more components * feat: add skeleton, slider and sonner * feat: add spinner and switch * feat: add more components * fix: tabs * fix: tabs * feat: add docs for sidebar * fix * fix * fi * docs: update * fix: create page * fix * fix * chore: add changelog * fix
31 lines
830 B
TypeScript
31 lines
830 B
TypeScript
import Link from "next/link"
|
|
import { ArrowRightIcon } from "lucide-react"
|
|
|
|
import { Badge } from "@/registry/new-york-v4/ui/badge"
|
|
|
|
function BaseUILogo() {
|
|
return (
|
|
<svg width="17" height="24" viewBox="0 0 17 24" className="size-3">
|
|
<path
|
|
fill="currentColor"
|
|
d="M9.5001 7.01537C9.2245 6.99837 9 7.22385 9 7.49999V23C13.4183 23 17 19.4183 17 15C17 10.7497 13.6854 7.27351 9.5001 7.01537Z"
|
|
/>
|
|
<path
|
|
fill="currentColor"
|
|
d="M8 9.8V12V23C3.58172 23 0 19.0601 0 14.2V12V1C4.41828 1 8 4.93989 8 9.8Z"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
|
|
export function Announcement() {
|
|
return (
|
|
<Badge asChild variant="secondary" className="bg-transparent">
|
|
<Link href="/docs/changelog">
|
|
<BaseUILogo />
|
|
Base UI Documentation <ArrowRightIcon />
|
|
</Link>
|
|
</Badge>
|
|
)
|
|
}
|