1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. sunui
  3. Store Header

Store Header

block

A sticky store header that tucks away when you scroll down past a threshold and slides back the moment you scroll up, shrinking from 64 to 52 px with a hairline once it leaves the top. The cart button takes a cartRef so add-to-cart-button can fly into it, an announcement slot rides along, and a mobile menu collapses by height. It never hides while keyboard focus is inside or the menu is open, and under reduced motion it only shrinks.

pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/store-header.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • framer-motion
  • utils
components/store-header.tsx