Introducing New Version of Components V3
Reusable Blocks for the Web
A collection of sleek, customizable blocks to speed up your workflow. Drop them into any React app and ship faster.
'use client'
import { SidebarInset, SidebarProvider } from '@gentleduck/registry-ui-duckui/sidebar'
import { AppSidebar } from './components/app-sidebar'
import { ChartAreaInteractive } from './components/chart-area-interactive'
import { DataTable } from './components/data-table'
import { SectionCards } from './components/section-cards'
import { SiteHeader } from './components/site-header'
import data from './data.json'
export function Page() {
return (
<SidebarProvider>
<AppSidebar />
<SidebarInset>
<SiteHeader />
<div className="flex flex-1 flex-col">
<div className="@container/main flex flex-1 flex-col gap-2">
<div className="flex flex-col gap-4 py-4 md:gap-6 md:py-6">
<SectionCards />
<div className="px-4 lg:px-6">
<ChartAreaInteractive />
</div>
<DataTable data={data} />
</div>
</div>
</div>
</SidebarInset>
</SidebarProvider>
)
}
dashboard-1
export const icons = {
user_filled: ({ ...props }: React.SVGProps<SVGSVGElement>) => (
<svg
fill="currentColor"
height="200px"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 448 512"
width="200px"
xmlns="http://www.w3.org/2000/svg"
{...props}>
<title id="iconTitle">user_filled</title>
<path d="M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"></path>
</svg>
),
}
signup-1