No search results with ways outempty-view-no-results
Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/empty-view-no-results.jsonEmpty-view · 2 variants
← → to step through · + on a thumbnail to compare side by side (up to 3)
/preview/empty-view-no-results
Open ↗Default content
{
"eyebrow": "0 pieces found",
"title": "No green velvet armchairs under £300 near Leeds, yet",
"description": "New pieces are listed every morning. Remove a filter to widen the search, or save it and we'll email you when something matches.",
"search": {
"label": "Search Patinyard",
"query": "green velvet armchair",
"placeholder": "Search chairs, sofas, sideboards…",
"submitLabel": "Search",
"action": "/browse"
},
"filters": {
"label": "Filters:",
"removeLabel": "Remove filter",
"clear": {
"label": "Clear all",
"href": "#"
},
"items": [
"Under £300",
"Within 25 miles of Leeds",
"Ready to collect"
]
},
"suggestions": {
"title": "These searches have pieces today",
"items": [
{
"label": "velvet armchair",
"href": "#"
},
{
"label": "green sofa",
"href": "#"
},
{
"label": "tub chair",
"href": "#"
},
{
"label": "reupholstered chair",
"href": "#"
},
{
"label": "bentwood chair",
"href": "#"
}
]
},
"alternatives": {
"title": "Close matches you might like",
"items": [
{
"title": "Velvet three-seater",
"meta": "Restored 1970s · Harrogate, 16 mi",
"price": "£640",
"href": "#",
"image": {
"src": "https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=600&h=750&q=80",
"alt": "A green velvet three-seater sofa"
}
},
{
"title": "Buttoned club chair",
"meta": "Vintage · York, 24 mi",
"price": "£285",
"href": "#",
"image": {
"src": "https://images.unsplash.com/photo-1567538096630-e0c55bd6374c?auto=format&fit=crop&w=600&h=750&q=80",
"alt": "A buttoned upholstered club chair"
}
},
{
"title": "Moulded dining chair",
"meta": "Mid-century · Sheffield, 33 mi",
"price": "£95",
"href": "#",
"image": {
"src": "https://images.unsplash.com/photo-1592078615290-033ee584e267?auto=format&fit=crop&w=600&h=750&q=80",
"alt": "A black moulded dining chair on oak legs"
}
},
{
"title": "Curved plywood lounger",
"meta": "Handmade · Leeds, 3 mi",
"price": "£290",
"href": "#",
"image": {
"src": "https://images.unsplash.com/photo-1519947486511-46149fa0a254?auto=format&fit=crop&w=600&h=750&q=80",
"alt": "A curved plywood lounge chair with a white cushion"
}
}
]
},
"help": {
"text": "Looking for something specific?",
"link": {
"label": "Save this search",
"href": "#"
}
}
}