GitHub 560+

Header

A responsive site header with grouped content.

Installation

npx shadcn@latest add @fulldev/header

Usage

import { Button } from "@/components/ui/button"
import { Header, HeaderContainer, HeaderGroup } from "@/components/ui/header"
import { Logo, LogoText } from "@/components/ui/logo"

Examples

Notes

  • Header controls the layout — default is full-width, floating is a constrained rounded card.
  • HeaderGroup is an unopinionated flex row. Use utility classes like ml-auto or justify-end on the group when you need alignment.
  • HeaderContainer is an optional middle slot when you need a flex region between left and right groups.
  • For a mobile menu, use Sheet and SheetTrigger from @/components/ui/sheet directly inside a HeaderGroup.

API Reference

See the GitHub source code for more information on props.