Navigation
SiteHeader
Header: brand, section links, actions; a phone menu below 768 px (none without links: the actions stay visible). Includes the skip link. position: fixed (default), sticky or static; width: content width like Container (default full).
import { SiteHeader, type SiteWidth } from "@percentsa/ui";Examples
Code
export function SiteHeaderExample() {
const t = useT();
return (
<div className="relative h-40 w-full overflow-hidden rounded-card border border-line [transform:translateZ(0)]">
<SiteHeader homeHref="#" links={useLinks()} actions={<Button size="md">{t("Start a project", "ابدأ مشروعًا")}</Button>} />
</div>
);
}