Product Collection
Sticky filter sidebar, sort toolbar and product grid — with the facets dropped rather than stacked on mobile, so a shopping page does not open as a form.
Order history in the settings shell rather than a second sidebar layout — an account area and a settings area are the same shape.
app/account-orders-page.tsxnpx hoverlab add account-orders-page
Or over MCP, from your editor's agent — no account needed.
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Manage your account, your workspace and how you sign in.
Everything you have ordered, newest first.
The real page, rendered in your current theme — every section below is a live block, not a screenshot.
Only want one section? Open it and copy that block instead — browse Settings.
Want the whole project rather than this one screen? A template ships every route, the theme tokens and the layout.
/**
* The customer's account area — order history.
*
* Reuses the settings shell from the product tier rather than inventing a
* second sidebar layout for shoppers. An account area and a settings area
* are the same shape: a nav of sections beside one panel. Building a
* parallel component for it is how a codebase ends up with two navigations
* that drift.
*
* The nav sections are overridden to shopper language — Orders, Addresses,
* Payment — while the layout, the responsive behaviour and the current-page
* marking come free.
*/
import * as React from 'react'
import { SettingsNavLayout } from '@/components/settings-nav-layout'
import { OrderHistoryList } from '@/components/order-history-list'
import { Package, MapPin, CreditCard, User } from 'lucide-react'
const ACCOUNT_SECTIONS = [
{ label: 'Orders', icon: <Package className="h-4 w-4" />, group: 'Shopping' },
{ label: 'Addresses', icon: <MapPin className="h-4 w-4" />, group: 'Shopping' },
{ label: 'Payment methods', icon: <CreditCard className="h-4 w-4" />, group: 'Shopping' },
{ label: 'Profile', icon: <User className="h-4 w-4" />, group: 'Account' },
]
export default function AccountOrdersPage() {
return (
<main className="min-h-screen bg-background text-foreground">
<SettingsNavLayout
heading="Your account"
sections={ACCOUNT_SECTIONS}
initialSection="Orders"
>
<div className="rounded-2xl border border-border/60 bg-card/60 p-6">
<OrderHistoryList />
</div>
</SettingsNavLayout>
</main>
)
}
components/ — each block page has its own copy button.app/account-orders-page.tsx. The imports already point at @/components/…, so they resolve with no edits.The component, its props, the design tokens it expects and the command that installs it — as one prompt. Paste it into Claude, Cursor, v0 or ChatGPT and what they build around it will match the rest of the catalog instead of inventing its own system.
Sticky filter sidebar, sort toolbar and product grid — with the facets dropped rather than stacked on mobile, so a shopping page does not open as a form.
Gallery, sticky buy box, details accordion and reviews — ordered by what a shopper needs before they can decide.
Editable lines beside a sticky summary, so the total and the checkout button survive a scroll through four quantity changes.
Address and payment with the site navigation stripped and the order summary moved above the form on mobile — both aimed squarely at completion rate.
The post-purchase screen, with navigation restored and a rail that shows what to buy next rather than what was just bought.
The page between a listing and a product detail, with the two questions a comparison table alone cannot answer: will it fit, and can I actually have it.
Checkout for the buyer who will not fill in a form: wallet buttons above the fields, and the address a wallet returns shown and changeable before the charge rather than after it.
For the customer with an order number and no account — a lookup, an arrival range rather than a promised date, and the review form where the "how did we do" email actually lands.