Storefront
The shop's front door: heroes, categories, what is trending.
- 5 blocks
- 2 free
- 3 Pro
- Light and dark
- Responsive
Unlock 67 Pro blocks and every template
Every preview is open. With Pro you get the code, copy-paste ready, with every update for good.
Shop hero
FreeA headline, search and category chips beside a collage of best sellers.
store-hero.tsx
"use client";
import { ArrowRight, Search, Shirt, Sparkles, Truck, Watch, Headphones } from "lucide-react";
import * as React from "react";
import { Badge, Button, Input } from "@waveinno/ui";
const CHIPS = ["Panjabi", "Saree", "Sneakers", "Watches", "Headphones", "Home"];
const BEST = [
{ name: "Cotton panjabi", price: 2450, was: 3200, hue: 228, icon: <Shirt /> },
{ name: "Smart watch S2", price: 6900, hue: 265, icon: <Watch /> },
{ name: "Noise-cancelling buds", price: 4300, hue: 195, icon: <Headphones /> },
];
const taka = (n: number) => `৳${n.toLocaleString("en-IN")}`;
function Tile({ p, className }: { p: (typeof BEST)[number]; className?: string }) {
return (
<div className={`relative overflow-hidden rounded-[20px] border border-border bg-raised shadow-[0_20px_40px_-28px_rgba(5,8,22,.45)] ${className ?? ""}`}>
<div
className="grid aspect-square place-items-center text-white/85 [&_svg]:size-14 [&_svg]:drop-shadow-[0_10px_20px_rgba(5,8,22,.18)]"
style={{ background: `radial-gradient(80% 70% at 30% 20%, hsl(${p.hue} 90% 72% / .6), transparent 70%), linear-gradient(160deg, hsl(${p.hue} 60% 94%), hsl(${p.hue + 30} 45% 84%))` }}
>
{p.icon}
</div>
{p.was ? (
<Badge variant="solid" tone="danger" dot={false} className="absolute left-3 top-3">
−{Math.round((1 - p.price / p.was) * 100)}%
</Badge>
) : null}
<div className="flex items-center justify-between gap-2 px-3.5 py-3">
<span className="truncate text-[13px] font-semibold text-text">{p.name}</span>
<span className="num shrink-0 text-[13px] font-semibold text-text">{taka(p.price)}</span>
</div>
</div>
);
}
export default function StoreHero() {
const [q, setQ] = React.useState("");
return (
<section className="relative isolate overflow-hidden">
<div aria-hidden className="absolute inset-0 -z-10 bg-[radial-gradient(60%_70%_at_0%_0%,color-mix(in_srgb,var(--brand-1)_14%,transparent),transparent_70%),radial-gradient(50%_60%_at_100%_100%,color-mix(in_srgb,var(--brand-2)_14%,transparent),transparent_70%)]" />
<div className="mx-auto grid max-w-6xl items-center gap-12 px-4 py-16 sm:px-6 lg:grid-cols-[1.05fr_1fr] lg:py-20">
<div>
<span className="inline-flex items-center gap-1.5 rounded-full border border-border bg-raised px-3 py-1 text-[12.5px] font-medium text-body">
<Sparkles className="size-3.5 text-primary" /> Eid collection is here
</span>
<h1 className="disp mt-5 text-[40px] font-bold leading-[1.05] tracking-[-0.035em] text-text sm:text-[52px]">
Dress for Eid,{" "}
<span className="bg-[linear-gradient(120deg,var(--brand-1),var(--brand-2))] bg-clip-text text-transparent">delivered by Chaand Raat</span>
</h1>
<p className="mt-4 max-w-md text-[16px] leading-[1.65] text-body">Order by the 28th for delivery anywhere in Dhaka before Eid. Cash on delivery or bKash, and free returns for 7 days.</p>
<form
className="mt-7 flex max-w-md gap-2"
onSubmit={(e) => {
e.preventDefault();
}}
>
<Input value={q} onChange={(e) => setQ(e.target.value)} placeholder="Search panjabi, saree, watches…" leading={<Search />} aria-label="Search the shop" className="h-11" />
<Button variant="primary" size="lg" type="submit">
Search
</Button>
</form>
<div className="mt-4 flex flex-wrap gap-2">
{CHIPS.map((c) => (
<button
key={c}
type="button"
onClick={() => setQ(c)}
className="cursor-pointer rounded-full border border-border bg-raised px-3 py-1 text-[12.5px] font-medium text-body transition-colors hover:border-primary/40 hover:text-primary"
>
{c}
</button>
))}
</div>
<p className="mt-7 flex items-center gap-2 text-[13px] text-muted">
<Truck className="size-4 text-primary" /> Free delivery in Dhaka over ৳1,500
</p>
</div>
<div className="relative grid grid-cols-2 gap-4">
<Tile p={BEST[0]!} className="row-span-2 self-center" />
<Tile p={BEST[1]!} />
<Tile p={BEST[2]!} />
<a
href="#best-sellers"
className="absolute -bottom-5 left-1/2 inline-flex -translate-x-1/2 items-center gap-1.5 rounded-full bg-[#1a113e] px-4 py-2 text-[13px] font-semibold text-white shadow-[0_12px_28px_-10px_rgba(26,17,62,.7)] hover:brightness-125"
>
See all best sellers <ArrowRight className="size-4" />
</a>
</div>
</div>
</section>
);
}Six departments that lift and glow on hover.
category-tiles.tsx
"use client";
import { ArrowRight, Baby, Gem, Headphones, Shirt, Sofa, Watch } from "lucide-react";
const CATEGORIES = [
{ name: "Men's wear", count: 1240, hue: 228, icon: <Shirt /> },
{ name: "Saree and three-piece", count: 980, hue: 330, icon: <Gem /> },
{ name: "Watches", count: 312, hue: 265, icon: <Watch /> },
{ name: "Audio", count: 205, hue: 195, icon: <Headphones /> },
{ name: "Home and living", count: 640, hue: 28, icon: <Sofa /> },
{ name: "Kids", count: 455, hue: 150, icon: <Baby /> },
];
/** Six departments. On hover a tile lifts, its colour deepens and the icon floats. */
export default function CategoryTiles() {
return (
<section className="mx-auto max-w-6xl px-4 py-14 sm:px-6">
<style>{`
@keyframes wv-tile-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
@media (prefers-reduced-motion: reduce) { .wv-tile-icon { animation: none !important } }
`}</style>
<div className="flex flex-wrap items-end justify-between gap-3">
<div>
<h2 className="disp text-[28px] font-bold leading-[1.15] tracking-[-0.025em] text-text">Shop by department</h2>
<p className="mt-1 text-[14px] text-muted">Everything for Eid, under one roof.</p>
</div>
<a href="#all" className="inline-flex items-center gap-1 text-[13.5px] font-semibold text-primary hover:underline">
All departments <ArrowRight className="size-4" />
</a>
</div>
<div className="mt-8 grid grid-cols-2 gap-4 md:grid-cols-3 lg:grid-cols-6">
{CATEGORIES.map((c) => (
<a
key={c.name}
href="#category"
className="group relative flex flex-col overflow-hidden rounded-[20px] border border-border bg-raised transition-[transform,box-shadow,border-color] duration-300 ease-[cubic-bezier(.22,1,.36,1)] hover:-translate-y-1.5 hover:border-transparent"
style={{ boxShadow: "var(--lit)" }}
>
<span
aria-hidden
className="absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100"
style={{ boxShadow: `0 24px 44px -24px hsl(${c.hue} 80% 45% / .65)` }}
/>
<div
className="relative grid aspect-[4/5] place-items-center text-white [&_svg]:size-11 [&_svg]:drop-shadow-[0_10px_18px_rgba(5,8,22,.2)]"
style={{ background: `radial-gradient(90% 70% at 30% 15%, hsl(${c.hue} 95% 70% / .55), transparent 70%), linear-gradient(165deg, hsl(${c.hue} 65% 93%), hsl(${c.hue + 25} 50% 80%))` }}
>
<span
aria-hidden
className="absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100"
style={{ background: `linear-gradient(165deg, hsl(${c.hue} 80% 70% / .35), hsl(${c.hue + 25} 70% 45% / .55))` }}
/>
<span className="wv-tile-icon relative group-hover:[animation:wv-tile-float_1.6s_ease-in-out_infinite]">{c.icon}</span>
</div>
<div className="relative px-3.5 py-3">
<p className="truncate text-[13.5px] font-semibold text-text">{c.name}</p>
<p className="mt-0.5 flex items-center gap-1 text-[12px] text-muted">
{c.count.toLocaleString("en-IN")} items
<ArrowRight className="size-3.5 -translate-x-1 opacity-0 transition-[transform,opacity] duration-300 group-hover:translate-x-0 group-hover:opacity-100" />
</p>
</div>
</a>
))}
</div>
</section>
);
}Eid, Boishakh and winter campaigns that rotate on their own, with a progress bar each.
Two rows of products gliding in opposite directions; hover to stop.