Search Plus UI Blocks

Find a block, a category or a site

E-commerce navbar with search, account and bagnavbar-store

Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/navbar-store.json

Navbar · 10 variants

← → to step through · + on a thumbnail to compare side by side (up to 3)

/preview/navbar-store
Open ↗

Default content

{
  "brand": "marrow-pine",
  "homeHref": "/",
  "links": [
    {
      "label": "Tableware",
      "href": "#",
      "groups": [
        {
          "title": "For the table",
          "items": [
            {
              "title": "Cups and tumblers",
              "description": "Hollin, Kiln and the oat glaze run",
              "href": "#",
              "icon": "coffee"
            },
            {
              "title": "Plates and bowls",
              "description": "Tarn celadon and buttermilk stoneware",
              "href": "#",
              "icon": "utensils"
            },
            {
              "title": "Serving boards",
              "description": "Fallen English oak, oiled by hand",
              "href": "#",
              "icon": "kitchen"
            }
          ]
        },
        {
          "title": "Gifts",
          "items": [
            {
              "title": "Under £40",
              "description": "Mugs, bud vases and candles to post",
              "href": "#",
              "icon": "gift"
            },
            {
              "title": "Wedding lists",
              "description": "Build a list we wrap and deliver",
              "href": "#",
              "icon": "heart"
            }
          ]
        }
      ]
    },
    {
      "label": "Linen & wool",
      "href": "#",
      "groups": [
        {
          "title": "Bedroom",
          "items": [
            {
              "title": "Duvet sets",
              "description": "Stonewashed linen in chalk, flax, clay",
              "href": "#",
              "icon": "bed"
            },
            {
              "title": "Throws",
              "description": "Undyed Bluefaced Leicester wool",
              "href": "#",
              "icon": "sofa"
            },
            {
              "title": "Cushion covers",
              "description": "Rust, flax stripe and sage",
              "href": "#",
              "icon": "home"
            }
          ]
        }
      ]
    },
    {
      "label": "Vases",
      "href": "#"
    },
    {
      "label": "Candles",
      "href": "#"
    },
    {
      "label": "Our makers",
      "href": "#"
    },
    {
      "label": "Autumn sale",
      "href": "#"
    }
  ],
  "featured": {
    "eyebrow": "New firing",
    "title": "The oat glaze run is back from Ruth's kiln",
    "description": "Forty tumblers, each dipped by hand to the line of her thumb. Usually gone in a week.",
    "href": "#",
    "cta": "Shop the run"
  },
  "search": {
    "label": "Search the shop",
    "placeholder": "Search mugs, linen, makers…",
    "emptyLabel": "Nothing by that name. Try a maker or a material.",
    "groups": [
      {
        "heading": "Popular right now",
        "items": [
          {
            "label": "Hollin tumbler, set of 4",
            "href": "#",
            "icon": "coffee",
            "hint": "£48"
          },
          {
            "label": "Fell wool throw",
            "href": "#",
            "icon": "sofa",
            "hint": "£120"
          },
          {
            "label": "Ember & Pine candle",
            "href": "#",
            "icon": "flame",
            "hint": "£28"
          }
        ]
      },
      {
        "heading": "Shelves",
        "items": [
          {
            "label": "Tableware",
            "href": "#",
            "icon": "utensils"
          },
          {
            "label": "Linen and wool",
            "href": "#",
            "icon": "bed"
          },
          {
            "label": "Autumn sale",
            "href": "#",
            "icon": "percent"
          }
        ]
      }
    ]
  },
  "account": {
    "label": "Account",
    "href": "#"
  },
  "bag": {
    "label": "Basket, {count} pieces",
    "currency": "GBP",
    "cart": {
      "title": "Your basket",
      "items": [
        {
          "product": {
            "name": "Hollin tumbler, set of 4",
            "href": "#",
            "category": "Tableware",
            "material": "Speckled stoneware, oat satin glaze",
            "price": 48,
            "images": [
              {
                "src": "https://images.unsplash.com/photo-1610701596007-11502861dcfa?auto=format&fit=crop&w=900&h=1100&q=80",
                "alt": "Speckled stoneware tumblers stacked on a white shelf"
              },
              {
                "src": "https://images.unsplash.com/photo-1610701596061-2ecf227e85b2?auto=format&fit=crop&w=900&h=1100&q=80",
                "alt": "Hollin tumblers on an oak table beside cream bowls and serving boards"
              },
              {
                "src": "https://images.unsplash.com/photo-1610701596295-4dc5d6289214?auto=format&fit=crop&w=900&h=1100&q=80",
                "alt": "Cream tableware and a striped linen napkin laid on a table"
              },
              {
                "src": "https://images.unsplash.com/photo-1493106641515-6b5631de4bb9?auto=format&fit=crop&w=900&h=1100&q=80",
                "alt": "Clay-covered hands throwing a pot on the wheel"
              }
            ],
            "swatches": [
              {
                "name": "Oat",
                "color": "oklch(0.86 0.035 80)"
              },
              {
                "name": "Honey",
                "color": "oklch(0.72 0.11 70)"
              },
              {
                "name": "Chalk",
                "color": "oklch(0.95 0.01 90)"
              }
            ],
            "badge": "Bestseller",
            "rating": {
              "value": 4.9,
              "count": 212
            }
          },
          "variant": "Oat · Set of 4",
          "quantity": 1
        },
        {
          "product": {
            "name": "Edale linen cushion cover",
            "href": "#",
            "category": "Linen",
            "material": "Stonewashed Lithuanian linen, 230 gsm",
            "price": 34,
            "compareAt": 42,
            "images": [
              {
                "src": "https://images.unsplash.com/photo-1616627561950-9f746e330187?auto=format&fit=crop&w=900&h=1100&q=80",
                "alt": "Striped and rust linen cushions on an oak bed"
              }
            ],
            "swatches": [
              {
                "name": "Rust",
                "color": "oklch(0.55 0.13 45)"
              },
              {
                "name": "Flax stripe",
                "color": "oklch(0.83 0.04 85)"
              },
              {
                "name": "Sage",
                "color": "oklch(0.7 0.05 140)"
              }
            ],
            "badge": "Autumn sale",
            "rating": {
              "value": 4.8,
              "count": 119
            }
          },
          "variant": "Rust",
          "quantity": 1
        }
      ],
      "shipping": {
        "freeFrom": 75,
        "remaining": "{amount} more for free delivery",
        "reached": "Free delivery, wrapped in our paper"
      },
      "labels": {
        "close": "Close basket",
        "count": "{count} pieces",
        "countOne": "{count} piece",
        "quantity": "Quantity",
        "decrease": "One fewer",
        "increase": "One more",
        "remove": "Remove",
        "subtotal": "Subtotal",
        "subtotalNote": "VAT included · delivery at checkout",
        "emptyTitle": "Your basket is empty",
        "emptyBody": "The autumn shelf has new firings from Ruth's kiln, thrown in batches of forty."
      },
      "viewBag": {
        "label": "View basket",
        "href": "#"
      },
      "checkout": {
        "label": "Checkout",
        "href": "#"
      }
    }
  },
  "utility": {
    "label": "Delivery",
    "note": "Free delivery over £75 · plastic-free, from Sheffield"
  },
  "actions": [
    {
      "label": "Saved pieces",
      "href": "#",
      "variant": "secondary"
    }
  ],
  "navLabel": "Shop",
  "menuLabel": "Open menu"
}