Navbar
Café header with a live “open now” chip
A café or bakery header: a wordmark with a dot, sections, a live chip “open · until 21:00” or “opens at 7:00 · in 5 hours” computed from the visitor's clock and refreshed every half minute, and an order button. On scroll it turns into glass with a “floury” edge.
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, links, actionLabel, actionShort, actionHref
- openHour, closeHour, openLabel, closedLabel
- 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-028?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
<Navbar028
brand="Crust"
openHour={7}
closeHour={21}
links={[{ label: "Shelf", href: "#shelf" }, { label: "Coffee", href: "#coffee" }]}
actionLabel="Order for morning"
actionHref="#box"
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Brand
brand· default: Crust- Button
actionLabel· default: Order for morning- Theme
tone· default: auto- Accent
accent· default: theme colour- Ink
ink· default: theme colour- Background
background· default: theme colour
Used in scenarios
- Café-bakeryHeader
More in Navbar
- Podcast header with a “now playing” chip
- Open-source project header with a stars chip
- Personal site header with an availability chip and city clock
- App site header with a “breathing” logo
- AI service navbar: a floating glass capsule with an equalizer and a live call indicator
- Car service navbar with an emblem and a live bay status
FAQ
- How do I add Café header with a live “open now” chip 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 Café header with a live “open now” chip depend on?
- No npm packages beyond React and Tailwind CSS. It also installs catalog components: button-111.
- What can I change in Café header with a live “open now” chip?
- Adapt: brand, links, actionLabel, actionShort, actionHref; openHour, closeHour, openLabel, closedLabel; sticky. Keep as installed: the button-111 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; the status chip runs on useSyncExternalStore with a null server snapshot — markup matches on hydration; glass and the floury edge appear after 24px of scroll.
- Is Café header with a live “open now” chip 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-028.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-111 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
- cafe
- bakery
- coffee
- open hours
- live status
- sticky
- glass
- composite
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…