From c1e28224aa2e1450031669d9a7e359b63e04687d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 22 Jul 2026 19:40:59 +0200 Subject: Init --- src/ui/objects/Navbar.tsx | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/ui/objects/Navbar.tsx (limited to 'src/ui/objects/Navbar.tsx') diff --git a/src/ui/objects/Navbar.tsx b/src/ui/objects/Navbar.tsx new file mode 100644 index 0000000..4439e58 --- /dev/null +++ b/src/ui/objects/Navbar.tsx @@ -0,0 +1,37 @@ +/** Biome-ignore-all lint/a11y/noNoninteractiveElementToInteractiveRole: */ + +import type { HTMLAttributes } from "corvos/plugins/jsx.ts"; + +export type Props = HTMLAttributes<"nav"> & { + "adapt"?: boolean; + "quiet"?: boolean; + "align-block"?: boolean; + "variant"?: "static-black" | "static-white"; +}; + +export const Navbar = ({ + adapt, + quiet, + "align-block": alignBlock, + variant, + class: cls, + ...props +}: Props) => ( +