Dev Design Library

Site header

A sticky website header that turns solid on scroll, with a gliding active link, mega menu panels, and a mobile sheet.

Site header preview
Library
Arc Library
Framework
React
Type
block
License
MIT
Dependencies
lucide-react, motion
Install
npx shadcn@latest add https://uiarc.dev/r/site-header.json
Files
  • registry/blocks/site-header/site-header.tsx
  • registry/blocks/site-header/site-header.module.css
  • lib/media.ts
  • registry/components/segmented-control/segmented-control.tsx
  • registry/components/segmented-control/segmented-control.module.css
  • registry/motion-tokens.ts
  • lib/motion-tokens.ts
Source
https://github.com/kuratlielia/arc-library

Categories

More from Arc Library