chore: initial Untitled UI Vite scaffold with FontAwesome Pro

This commit is contained in:
2026-03-16 14:23:23 +05:30
commit 3a338b33dd
163 changed files with 27081 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import type { FC, ReactNode } from "react";
export type NavItemType = {
/** Label text for the nav item. */
label: string;
/** URL to navigate to when the nav item is clicked. */
href?: string;
/** Icon component to display. */
icon?: FC<{ className?: string }>;
/** Badge to display. */
badge?: ReactNode;
/** List of sub-items to display. */
items?: { label: string; href: string; icon?: FC<{ className?: string }>; badge?: ReactNode }[];
/** Whether this nav item is a divider. */
divider?: boolean;
};
export type NavItemDividerType = Omit<NavItemType, "icon" | "label" | "divider"> & {
/** Label text for the divider. */
label?: string;
/** Whether this nav item is a divider. */
divider: true;
};