Header
Work in progress
This header component is a work in progress. To see it in action, have a look at:
/blocks/header/
Installation
Section titled “Installation”To install the header component, run the following command:
npx shadcn@latest add @fulldev/headerimport { Button } from "@/components/ui/button"import { Header, HeaderActions, HeaderContent } from "@/components/ui/header"import { Logo, LogoImage, LogoText } from "@/components/ui/logo"<Header> <HeaderContent> <Logo href="/"> <LogoText>fulldev/ui</LogoText> </Logo> <HeaderActions class="ml-auto"> <Button size="sm" variant="ghost">Sign In</Button> <Button size="sm">Sign Up</Button> </HeaderActions> </HeaderContent></Header>Examples
Section titled “Examples”Floating
Section titled “Floating”---import { Button } from "@/components/ui/button"import { Header, HeaderActions, HeaderContent } from "@/components/ui/header"import { Logo, LogoImage, LogoText } from "@/components/ui/logo"---
<Header variant="floating"> <HeaderContent> <Logo href="/"> <LogoText>fulldev/ui</LogoText> </Logo> <HeaderActions class="ml-auto"> <Button size="sm" variant="ghost">Sign In</Button> <Button size="sm">Sign Up</Button> </HeaderActions> </HeaderContent></Header>