Website kits › Socket › Category

Category

Filters recount live, the search reads specs as well as names, and any card can be pinned to compare from here.

Category is a category page from Socket, a website kit with 5 pages: A working electronics store: pin any three to compare spec by spec, delivery dates by city, one shared bag. Price: $5 for the whole pack.

Built with: live facet counts, spec search, compare tray.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Category props

PropTypeDefaultDescription
darkboolean
photosRecord<string
categorystringStart on one department.
seedboolean
onNavigate(page: string) => void

Methods on the ref

Use it in React

import SocketShop from './SocketShop';

<SocketShop />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Socket

Good for: Electronics store website, UK (pounds).