Navbar
Food delivery navbar with address, ETA and a cart counter
Sticky header for a food delivery service: a logo with a flame, an “address · 28 min” chip (picks up the vibeui-cart:zone event from the zones map), sections and a cart button with a badge — the count arrives via vibeui-cart:state and bumps on every change. A burger and dropdown on narrow screens; on scroll the header tightens and gets an accent underline.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- brand, brandHref, address, minutes
- links: label, href; cartLabel, cartHref
- sticky
Built from
The install command brings these components too. The block only passes them props: their palette and behaviour stay their own.
A link for your AI agent: preview, code and instructions.
Preview

Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/navbar-038?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Navbar038
brand="Hot"
address="5th Avenue, 12"
minutes={28}
links={[{ label: "Menu", href: "#menu" }, { label: "Tracker", href: "#tracker" }]}
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Brand
brand· default: Hot- Address
address· default: 5th Avenue, 12- Minutes to door
minutes· default: 28- Theme
tone· default: auto- Accent
accent· default: theme colour- Ink
ink· default: theme colour- Background
background· default: theme colour
Used in scenarios
- Food deliveryHeader
More in Navbar
- Language school navbar with a handwritten caption and language chips
- Neobank navbar with an axis logo, “Log in” and “Open an account”
- Marketplace navbar with search and a cart that listens to an event
- API service navbar with a status lamp and a “Get a key” button
- Transparent gadget navbar: glass on scroll and a preorder button
- Charity foundation navbar with a handwritten note and a “Donate” button
FAQ
- How do I add Food delivery navbar with address, ETA and a cart counter with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Food delivery navbar with address, ETA and a cart counter depend on?
- No npm packages beyond React and Tailwind CSS. It also installs catalog components: button-112.
- What can I change in Food delivery navbar with address, ETA and a cart counter?
- Adapt: brand, brandHref, address, minutes; links: label, href; cartLabel, cartHref; sticky. Keep as installed: the button-112 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; the cart counter listens to the vibeui-cart:state window event (detail.count) and sets data-bump for 450 ms to animate; the address chip listens to vibeui-cart:zone (detail.label, detail.minutes) and overrides the address/minutes props.
- Is Food delivery navbar with address, ETA and a cart counter free?
- The preview is open to everyone; the source is available with a PRO subscription.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/navbar-038.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
A composite block: imports button-112 from @/components/vibeui/ — the install command brings them along with the block. The block owns the layout and its own text, passes the parts props only and leaves their --vibeui-<name>-* palettes alone.
Tags
- navbar
- header
- delivery
- food
- cart
- counter
- sticky
- burger
- address
- eta
- event
- composite
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…