Navbar with ⌘K searchnavbar-command-search
Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/navbar-command-search.jsonNavbar · 10 variants
← → to step through · + on a thumbnail to compare side by side (up to 3)
/preview/navbar-command-search
Open ↗Default content
{
"brand": "tessaly",
"homeHref": "/",
"links": [
{
"label": "Product",
"href": "#"
},
{
"label": "Customers",
"href": "#"
},
{
"label": "Pricing",
"href": "#"
},
{
"label": "Docs",
"href": "#"
}
],
"search": {
"label": "Search Tessaly",
"placeholder": "Search docs, guides, metrics…",
"shortcut": [
"⌘",
"K"
],
"emptyLabel": "No pages match that. Try a metric name.",
"groups": [
{
"heading": "Popular guides",
"items": [
{
"label": "Build your first retention cohort",
"href": "#",
"icon": "rollback",
"hint": "Guide"
},
{
"label": "Find where trials stall in a funnel",
"href": "#",
"icon": "workflow",
"hint": "Guide"
},
{
"label": "Connect Snowflake in ten minutes",
"href": "#",
"icon": "database",
"hint": "Setup"
}
]
},
{
"heading": "Metrics",
"items": [
{
"label": "Week-4 retention",
"href": "#",
"icon": "chart",
"hint": "Definition"
},
{
"label": "Net revenue retention",
"href": "#",
"icon": "activity",
"hint": "Definition"
},
{
"label": "Activation rate",
"href": "#",
"icon": "zap",
"hint": "Definition"
}
]
},
{
"heading": "Company",
"items": [
{
"label": "Pricing and plans",
"href": "#",
"icon": "receipt"
},
{
"label": "Security and SOC 2",
"href": "#",
"icon": "shield"
},
{
"label": "Changelog",
"href": "#",
"icon": "rss"
}
]
}
]
},
"actions": [
{
"label": "Sign in",
"href": "#",
"variant": "secondary"
},
{
"label": "Start free trial",
"href": "#",
"variant": "primary"
}
],
"navLabel": "Main",
"menuLabel": "Open menu"
}