Feature sections
Say what the product does: a grid of six features, alternating rows with pictures of the product, tabs that swap the picture per job, a checklist, three cards or a side-by-side comparison. Every picture is drawn in markup, so it wears the theme.
6 blocks below, each one file and one command. They wear whichever DressCode theme you install, in light and dark.
Six-feature grid
A centered heading over six features in three columns, each an icon in a soft accent square, a title and a line or two.
npx shadcn@latest add https://dresscodeui.com/r/dresscode/features-grid.json// Features, grid: a centered heading and six features in three columns, each an icon in the theme's soft
// accent square, a short title and a line or two of text. Two columns on tablets, one on phones.
import { BellRing, ChartColumn, CreditCard, FileSpreadsheet, Repeat, Send } from "lucide-react"
const FEATURES = [
{ icon: Send, title: "Send in a minute", body: "Pick a client, add the lines, press send. Orbit fills in your details, terms and payment link." },
{ icon: BellRing, title: "Reminders that sound like you", body: "Friendly follow-ups go out before and after the due date, written in your tone." },
{ icon: ChartColumn, title: "Know what is coming in", body: "See what is paid, what is due and what is at risk this month, at a glance." },
{ icon: CreditCard, title: "Get paid your way", body: "Cards, bank transfer and payment links, with the fees shown up front." },
{ icon: Repeat, title: "Retainers on autopilot", body: "Recurring invoices bill every month and stop when the contract ends." },
{ icon: FileSpreadsheet, title: "Ready for tax time", body: "Export every invoice and payment to a tidy CSV your accountant will like." },
]
export default function FeaturesGrid() {
return (
<section aria-labelledby="features-grid-title" className="py-16 sm:py-24">
<div className="mx-auto w-full max-w-[1200px] px-5 sm:px-8">
<div className="mx-auto max-w-[640px] text-center">
<p className="text-sm font-semibold text-[color:var(--dc-accent)]">Features</p>
<h2 id="features-grid-title" className="dc-h mt-3 text-[32px] leading-[1.1] sm:text-[42px]">
Everything between the job and the payment
</h2>
<p className="mt-4 text-[17px] leading-relaxed text-muted-foreground">
Orbit covers the boring middle: the invoice, the chasing and the bookkeeping that follows.
</p>
</div>
<ul className="mt-14 grid gap-x-8 gap-y-10 sm:grid-cols-2 lg:grid-cols-3 lg:gap-y-12">
{FEATURES.map(({ icon: Icon, title, body }) => (
<li key={title}>
<span className="dc-icon">
<Icon className="size-[18px]" aria-hidden="true" />
</span>
<h3 className="dc-h mt-4 text-[20px] leading-snug">{title}</h3>
<p className="mt-2 leading-relaxed text-muted-foreground">{body}</p>
</li>
))}
</ul>
</div>
</section>
)
}Alternating rows
Three features down the page, each a heading, a line and three points beside a small picture of the product, switching sides row by row.
npx shadcn@latest add https://dresscodeui.com/r/dresscode/features-rows.json// Features, rows: three features, each with a kicker, a heading, a line of copy and three points on one
// side and a small picture of the product on the other, alternating sides down the page. The pictures
// are drawn in markup so they wear the theme; they are hidden from screen readers and the copy beside
// them says what they show. On phones the picture follows its copy.
import { ArrowRight, Check, Mail, Send } from "lucide-react"
import type { ReactNode } from "react"
import { Button } from "@/components/ui/button"
import { cn } from "@/lib/utils"
const MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov"]
const THIS_YEAR = [18, 22, 19, 26, 24, 30, 28, 33, 31, 38, 42]
const LAST_YEAR = [15, 16, 18, 17, 20, 21, 22, 21, 25, 24, 27]
function InvoiceBuilder() {
return (
<div aria-hidden="true" className="dc-card p-5 text-[14px] sm:p-6">
<div className="flex items-center justify-between">
<p className="dc-h text-[18px]">New invoice</p>
<span className="dc-num text-muted-foreground">INV-1043</span>
</div>
<div className="mt-4 grid gap-3 sm:grid-cols-2">
<div>
<p className="text-[12px] font-semibold">Client</p>
<p className="mt-1 flex h-9 items-center rounded-[var(--radius)] border border-input px-3">Fernwood Studio</p>
</div>
<div>
<p className="text-[12px] font-semibold">Due</p>
<p className="mt-1 flex h-9 items-center rounded-[var(--radius)] border border-ring px-3 ring-3 ring-ring/20">Dec 8, 2026</p>
</div>
</div>
<ul className="mt-4 divide-y divide-border border-y border-border">
{[
["Brand identity", "$3,000.00"],
["Website copy", "$1,200.00"],
].map(([line, amount]) => (
<li key={line} className="flex justify-between py-2.5">
<span>{line}</span>
<span className="dc-num">{amount}</span>
</li>
))}
</ul>
<div className="mt-3 flex items-center justify-between">
<span className="text-muted-foreground">Total</span>
<span className="dc-num text-[22px] font-semibold">$4,200.00</span>
</div>
<div className="mt-4 flex justify-end gap-2">
<span className="inline-flex h-9 items-center rounded-[var(--radius)] border border-input px-3 font-medium">Preview</span>
<span className="inline-flex h-9 items-center gap-1.5 rounded-[var(--radius)] bg-primary px-3 font-semibold text-primary-foreground">
<Send className="size-3.5" /> Send invoice
</span>
</div>
</div>
)
}
function ReminderPreview() {
return (
<div aria-hidden="true" className="grid gap-3 text-[14px] sm:grid-cols-[1.2fr_1fr]">
<div className="dc-card p-5">
<p className="flex items-center gap-2 text-[12px] text-muted-foreground">
<Mail className="size-3.5" /> To: tom@katolee.studio
</p>
<p className="mt-3 font-semibold">A quick nudge about INV-1041</p>
<p className="mt-2 leading-relaxed text-muted-foreground">
Hi Tom, hope the launch went well. Invoice INV-1041 for $1,860 was due on Nov 20. You can pay it here in a minute.
</p>
<span className="mt-4 inline-flex h-9 items-center rounded-[var(--radius)] bg-primary px-3 font-semibold text-primary-foreground">Pay invoice</span>
</div>
<div className="dc-card p-5">
<p className="font-semibold">Reminder plan</p>
<ol className="mt-3 space-y-3">
{[
{ when: "3 days before", what: "Friendly heads-up", done: true },
{ when: "On the due date", what: "Payment link again", done: true },
{ when: "7 days after", what: "A firmer nudge", done: false },
].map((step) => (
<li key={step.when} className="flex gap-3">
<span
className={cn(
"mt-0.5 grid size-5 shrink-0 place-items-center rounded-full border-2",
step.done ? "border-[color:var(--dc-accent)] bg-[color:var(--dc-accent)] text-[color:var(--background)]" : "border-border",
)}
>
{step.done ? <Check className="size-3" strokeWidth={3} /> : null}
</span>
<span>
<span className="block font-semibold">{step.when}</span>
<span className="text-muted-foreground">{step.what}</span>
</span>
</li>
))}
</ol>
</div>
</div>
)
}
function ForecastCard() {
return (
<div aria-hidden="true" className="dc-card p-5 text-[14px] sm:p-6">
<div className="flex flex-wrap items-end justify-between gap-2">
<div>
<p className="text-muted-foreground">Expected in December</p>
<p className="dc-num text-[30px] font-semibold tracking-tight">$18,450</p>
</div>
<span className="dc-pill dc-pill-hl">+$2,300 vs November</span>
</div>
<div className="mt-5 flex items-end gap-[3%]">
{THIS_YEAR.map((v, i) => (
<div key={MONTHS[i]} className="flex flex-1 flex-col items-center gap-1.5">
<div className="flex h-[150px] w-full items-end justify-center gap-[12%]">
<span className="w-[38%] rounded-t-[3px] bg-[color:var(--chart-2)]" style={{ height: `${(LAST_YEAR[i] / 45) * 100}%` }} />
<span className="w-[38%] rounded-t-[3px] bg-[color:var(--chart-1)]" style={{ height: `${(v / 45) * 100}%` }} />
</div>
<span className="text-[11px] text-muted-foreground">{MONTHS[i]}</span>
</div>
))}
</div>
<div className="mt-3 flex gap-5 text-[13px] text-muted-foreground">
<span className="inline-flex items-center gap-2">
<i className="size-2.5 rounded-full bg-[color:var(--chart-1)]" /> 2026
</span>
<span className="inline-flex items-center gap-2">
<i className="size-2.5 rounded-full bg-[color:var(--chart-2)]" /> 2025
</span>
</div>
</div>
)
}
function Row({
id,
kicker,
title,
body,
points,
visual,
more,
flip = false,
}: {
id: string
more: string
kicker: string
title: string
body: string
points: string[]
visual: ReactNode
flip?: boolean
}) {
return (
<section aria-labelledby={`${id}-title`} className="py-12 sm:py-16">
<div className="mx-auto grid w-full max-w-[1200px] items-center gap-10 px-5 sm:px-8 lg:grid-cols-2 lg:gap-16">
<div className={cn("max-w-[540px]", flip && "lg:order-2")}>
<p className="text-sm font-semibold text-[color:var(--dc-accent)]">{kicker}</p>
<h2 id={`${id}-title`} className="dc-h mt-3 text-[30px] leading-[1.1] sm:text-[40px]">
{title}
</h2>
<p className="mt-4 text-[17px] leading-relaxed text-muted-foreground">{body}</p>
<ul className="mt-6 space-y-3">
{points.map((p) => (
<li key={p} className="flex gap-3">
<Check className="mt-0.5 size-5 shrink-0 text-[color:var(--dc-accent)]" aria-hidden="true" />
{p}
</li>
))}
</ul>
<Button variant="link" className="dc-flat mt-5 h-auto px-0 text-[15px] font-semibold text-foreground" nativeButton={false} render={<a href={`#${more}`} />}>
Learn more<span className="sr-only"> about {more.replace("-", " ")}</span> <ArrowRight className="size-4" aria-hidden="true" />
</Button>
</div>
<div className={cn("min-w-0", flip && "lg:order-1")}>{visual}</div>
</div>
</section>
)
}
export default function FeaturesRows() {
return (
<div className="py-4 sm:py-8">
<Row
id="features-rows-send"
more="invoices"
kicker="Invoices"
title="Send an invoice before your coffee cools"
body="Your logo, terms, tax and payment details are already there. Add the lines, check the total, send."
points={["Saved clients and line items", "Tax and discounts worked out for you", "A payment link on every invoice"]}
visual={<InvoiceBuilder />}
/>
<Row
id="features-rows-remind"
more="reminders"
kicker="Reminders"
title="Reminders that sound like you"
body="Orbit follows up on unpaid invoices on a plan you set, in your tone, so you never have to write the awkward email."
points={["Before, on and after the due date", "Stops the moment the client pays", "Optional late fees, applied politely"]}
visual={<ReminderPreview />}
flip
/>
<Row
id="features-rows-forecast"
more="cash-flow"
kicker="Cash flow"
title="See the month before it happens"
body="Every invoice has a due date, so Orbit knows what should land and when. Plan the month on real numbers."
points={["Expected, received and at risk", "Compare with the same month last year", "A weekly summary in your inbox"]}
visual={<ForecastCard />}
/>
</div>
)
}Tabs per job
A tab for each job the product does, keyboard-friendly, each swapping in a picture of the product doing it.
npx shadcn@latest add https://dresscodeui.com/r/dresscode/features-tabs.json"use client"
// Features, tabs: one tab per job (send, follow up, get paid, plan), each swapping in a picture of the
// product doing that job. The tabs are shadcn Tabs (Base UI): the panel follows focus. The stock Tabs
// wrapper uses orientation for styling only (Base UI's list stays horizontal, so Left and Right move
// between tabs), so the block adds Up and Down for the list it draws as a column. The pictures are drawn
// in markup so they wear the theme; they are hidden from screen readers, and each tab's own text says
// what its picture shows. On phones the tabs sit two by two above the panel, and the panel repeats the
// line the tab shows on desktop.
import { BellRing, ChartColumn, Check, CreditCard, Landmark, Mail, Send, type LucideIcon } from "lucide-react"
import type { ComponentType, KeyboardEvent } from "react"
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
import { cn } from "@/lib/utils"
const field = "flex h-9 items-center rounded-[var(--radius)] border border-input px-3"
const box = "rounded-[calc(var(--radius)+2px)] border border-border"
function SendPicture() {
return (
<div aria-hidden="true" className="grid gap-3 text-[13px] sm:grid-cols-[1.25fr_1fr]">
<div className="dc-card p-5">
<div className="flex items-center justify-between">
<p className="dc-h text-[17px]">New invoice</p>
<span className="dc-num text-muted-foreground">INV-1043</span>
</div>
<p className="mt-4 text-[12px] font-semibold">Client</p>
<p className={cn(field, "mt-1 justify-between")}>
Fernwood Studio <span className="text-[12px] text-muted-foreground">USD</span>
</p>
<ul className="mt-4 divide-y divide-border border-y border-border">
{[
["Brand identity, phase 2", "$3,200.00"],
["Website copy, 8 h", "$800.00"],
["Stock licences", "$200.00"],
].map(([line, amount]) => (
<li key={line} className="flex justify-between gap-3 py-2.5">
<span className="truncate">{line}</span>
<span className="dc-num">{amount}</span>
</li>
))}
</ul>
<div className="mt-3 flex items-center justify-between">
<span className="text-muted-foreground">Total</span>
<span className="dc-num text-[20px] font-semibold tracking-tight">$4,200.00</span>
</div>
<span className="mt-4 flex h-9 items-center justify-center gap-1.5 rounded-[var(--radius)] bg-primary font-semibold text-primary-foreground">
<Send className="size-3.5" /> Send invoice
</span>
</div>
<div className="dc-card flex flex-col p-5">
<p className="flex items-center gap-2 text-[12px] text-muted-foreground">
<Mail className="size-3.5" /> What Maya sees
</p>
<p className="mt-3 font-semibold">Ada sent you an invoice</p>
<p className="mt-1 text-muted-foreground">Brand identity and website copy.</p>
<div className="mt-4 rounded-[calc(var(--radius)+2px)] bg-muted p-4 text-center">
<p className="text-[12px] text-muted-foreground">Amount due</p>
<p className="dc-num mt-1 text-[24px] font-semibold tracking-tight">$4,200.00</p>
</div>
<dl className="mt-3 divide-y divide-border">
{[
["Due", "Dec 8, 2026"],
["Pay by", "Card or bank"],
].map(([k, v]) => (
<div key={k} className="flex justify-between py-2">
<dt className="text-muted-foreground">{k}</dt>
<dd className="font-medium">{v}</dd>
</div>
))}
</dl>
<div className="mt-4 flex flex-1 items-end">
<span className="flex h-9 w-full items-center justify-center rounded-[var(--radius)] bg-primary font-semibold text-primary-foreground">Pay invoice</span>
</div>
</div>
</div>
)
}
const PLAN = [
{ date: "Nov 17", what: "Friendly heads-up", note: "Opened by Tom", done: true },
{ date: "Nov 20", what: "Due today, with the link", note: "Opened by Tom", done: true },
{ date: "Nov 27", what: "A firmer nudge", note: "Goes out at 9:00", done: false },
]
function RemindPicture() {
return (
<div aria-hidden="true" className="dc-card overflow-hidden text-[13px]">
<div className="flex flex-wrap items-center justify-between gap-3 border-b border-border p-4 sm:px-5">
<div>
<p className="font-semibold">INV-1041 · Kato & Lee</p>
<p className="text-muted-foreground">$1,860.00, due Nov 20</p>
</div>
<span className="dc-pill dc-pill-danger">7 days late</span>
</div>
<div className="grid sm:grid-cols-[1fr_1.15fr]">
<div className="p-4 sm:p-5">
<p className="text-[12px] font-semibold">Tone</p>
<div className="mt-2 grid grid-cols-3 rounded-[var(--radius)] bg-muted p-[3px]">
{["Friendly", "Neutral", "Firm"].map((t, i) => (
<span key={t} className={cn("rounded-[calc(var(--radius)-2px)] py-1 text-center", i === 0 ? "bg-card font-semibold shadow-sm" : "text-muted-foreground")}>
{t}
</span>
))}
</div>
<ol className="mt-5 space-y-4">
{PLAN.map((s) => (
<li key={s.date} className="flex gap-3">
<span
className={cn(
"mt-0.5 grid size-5 shrink-0 place-items-center rounded-full border-2",
s.done ? "border-[color:var(--dc-accent)] bg-[color:var(--dc-accent)] text-[color:var(--background)]" : "border-border",
)}
>
{s.done ? <Check className="size-3" strokeWidth={3} /> : null}
</span>
<span className="min-w-0">
<span className="block font-semibold">
<span className="dc-num">{s.date}</span> · {s.what}
</span>
<span className="text-muted-foreground">{s.note}</span>
</span>
</li>
))}
</ol>
</div>
<div className="border-t border-border bg-[color:color-mix(in_oklab,var(--dc-ink)_2.5%,var(--card))] p-4 sm:border-t-0 sm:border-l sm:p-5">
<p className="flex items-center gap-2 text-[12px] text-muted-foreground">
<Mail className="size-3.5" /> Next, on Nov 27
</p>
<p className="mt-3 font-semibold">Following up on INV-1041</p>
<p className="mt-2 leading-relaxed text-muted-foreground">
Hi Tom, invoice INV-1041 for $1,860 is now a week past due. If it has slipped through, you can pay it here in a minute. Thanks, Ada
</p>
<span className="mt-4 inline-flex h-8 items-center rounded-[var(--radius)] bg-primary px-3 font-semibold text-primary-foreground">Pay invoice</span>
</div>
</div>
<div className="flex items-center justify-between gap-3 border-t border-border px-4 py-3 sm:px-5">
<span className="text-muted-foreground">Add a 2% late fee after 14 days</span>
<span className="flex h-5 w-9 shrink-0 items-center rounded-full bg-[color:color-mix(in_oklab,var(--dc-ink)_22%,transparent)] p-0.5">
<span className="size-4 rounded-full bg-card shadow-sm" />
</span>
</div>
</div>
)
}
function PaidPicture() {
return (
<div aria-hidden="true" className="grid gap-3 text-[13px] sm:grid-cols-[1.1fr_1fr]">
<div className="dc-card flex flex-col p-5">
<p className="text-muted-foreground">Pay Fernwood Studio</p>
<p className="dc-num mt-1 text-[28px] font-semibold tracking-tight">$4,200.00</p>
<p className="mt-4 text-[12px] font-semibold">Pay with</p>
<div className="mt-2 grid grid-cols-2 gap-2">
<span className="flex h-10 items-center gap-2 rounded-[var(--radius)] border-2 border-[color:var(--dc-accent)] px-3 font-semibold">
<CreditCard className="size-4 text-[color:var(--dc-accent)]" /> Card
</span>
<span className="flex h-10 items-center gap-2 rounded-[var(--radius)] border border-input px-3 text-muted-foreground">
<Landmark className="size-4" /> Bank
</span>
</div>
<p className={cn(field, "dc-num mt-3 justify-between")}>
•••• •••• •••• 4242 <span className="text-muted-foreground">12/28</span>
</p>
<div className="mt-auto pt-4">
<span className="flex h-9 items-center justify-center rounded-[var(--radius)] bg-primary font-semibold text-primary-foreground">Pay $4,200.00</span>
<p className="mt-2 text-center text-[12px] text-muted-foreground">A receipt goes to Maya by email</p>
</div>
</div>
<div className="flex flex-col gap-3">
<div className="dc-card flex items-center gap-3 p-4">
<span className="grid size-9 shrink-0 place-items-center rounded-full bg-[color:var(--dc-highlight)] text-[color:var(--dc-highlight-fg)]">
<Check className="size-4" strokeWidth={3} />
</span>
<div className="min-w-0 flex-1">
<p className="font-semibold">Payment received</p>
<p className="truncate text-muted-foreground">Fernwood Studio, INV-1043</p>
</div>
<span className="dc-num font-semibold">$4,200</span>
</div>
<div className="dc-card flex-1 p-4">
<div className="flex items-center justify-between">
<p className="font-semibold">Payout</p>
<span className="dc-pill dc-pill-line">Arrives Thursday</span>
</div>
<p className="mt-1 text-muted-foreground">To your account ending 42</p>
<ol className="mt-4 grid grid-cols-3 gap-1.5">
{["Paid", "On its way", "In your bank"].map((s, i) => (
<li key={s}>
<span className={cn("block h-1.5 rounded-full", i < 2 ? "bg-[color:var(--dc-accent)]" : "bg-muted")} />
<span className={cn("mt-2 block text-[12px]", i < 2 ? "font-semibold" : "text-muted-foreground")}>{s}</span>
</li>
))}
</ol>
<p className="mt-5 text-[12px] font-semibold text-muted-foreground">Earlier this month</p>
<ul className="mt-1 divide-y divide-border">
{[
["Nov 18", "Northlight", "$7,450.00"],
["Nov 12", "Juniper Labs", "$2,300.00"],
].map(([date, who, amount]) => (
<li key={date} className="flex items-center gap-3 py-2">
<span className="dc-num w-12 shrink-0 text-muted-foreground">{date}</span>
<span className="min-w-0 flex-1 truncate">{who}</span>
<span className="dc-num">{amount}</span>
</li>
))}
</ul>
</div>
</div>
</div>
)
}
const MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
const CASH = [18, 22, 19, 26, 24, 30, 28, 33, 31, 38, 42, 46]
function PlanPicture() {
return (
<div aria-hidden="true" className="dc-card p-5 text-[13px] sm:p-6">
<div className="flex flex-wrap items-end justify-between gap-2">
<div>
<p className="text-muted-foreground">Expected in December</p>
<p className="dc-num text-[30px] font-semibold tracking-tight">$18,450</p>
</div>
<span className="dc-pill dc-pill-hl">+$2,300 on November</span>
</div>
<div className="mt-5 flex h-[180px] items-end gap-[2%] border-b border-border">
{CASH.map((v, i) => (
<span
key={MONTHS[i]}
className={cn("flex-1 rounded-t-[3px]", i === 11 ? "bg-[color:var(--chart-1)] opacity-45" : "bg-[color:var(--chart-1)]")}
style={{ height: `${(v / 48) * 100}%` }}
/>
))}
</div>
<div className="mt-1.5 flex gap-[2%] text-center text-[11px] text-muted-foreground">
{MONTHS.map((m) => (
<span key={m} className="flex-1">
{m.slice(0, 1)}
</span>
))}
</div>
<dl className="mt-5 grid grid-cols-3 gap-2">
{[
{ label: "Paid", value: "$9,860", tone: "var(--chart-1)" },
{ label: "Due", value: "$6,290", tone: "var(--chart-2)" },
{ label: "At risk", value: "$2,300", tone: "var(--dc-danger)" },
].map((s) => (
<div key={s.label} className={cn(box, "p-3")}>
<dt className="flex items-center gap-1.5 text-muted-foreground">
<i className="size-2 rounded-full" style={{ background: s.tone }} /> {s.label}
</dt>
<dd className="dc-num mt-1 text-[17px] font-semibold">{s.value}</dd>
</div>
))}
</dl>
</div>
)
}
/** Up and Down move through the tabs too (the list is drawn as a column), wrapping at the ends. */
function moveWithUpDown(e: KeyboardEvent<HTMLDivElement>) {
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return
const tabs = Array.from(e.currentTarget.querySelectorAll<HTMLElement>('[role="tab"]'))
const i = tabs.findIndex((tab) => tab === document.activeElement)
if (i < 0) return
e.preventDefault()
const next = tabs[(i + (e.key === "ArrowDown" ? 1 : tabs.length - 1)) % tabs.length]
next.focus()
next.click()
}
const JOBS: { id: string; icon: LucideIcon; label: string; body: string; Picture: ComponentType }[] = [
{
id: "send",
icon: Send,
label: "Send",
body: "Saved clients and terms. Out the door with a payment link in a minute.",
Picture: SendPicture,
},
{
id: "remind",
icon: BellRing,
label: "Follow up",
body: "Reminders in your tone, before and after the due date, until they pay.",
Picture: RemindPicture,
},
{
id: "paid",
icon: CreditCard,
label: "Get paid",
body: "Card or bank transfer, in your account two working days later.",
Picture: PaidPicture,
},
{
id: "plan",
icon: ChartColumn,
label: "Plan",
body: "What should land this month, what is paid and what is at risk.",
Picture: PlanPicture,
},
]
export default function FeaturesTabs() {
return (
<section aria-labelledby="features-tabs-title" className="py-16 sm:py-24">
<div className="mx-auto w-full max-w-[1200px] px-5 sm:px-8">
<Tabs defaultValue="send" orientation="vertical" className="grid gap-8 lg:grid-cols-[minmax(0,370px)_minmax(0,1fr)] lg:gap-12">
<div>
<p className="text-sm font-semibold text-[color:var(--dc-accent)]">How it works</p>
<h2 id="features-tabs-title" className="dc-h mt-3 text-[32px] leading-[1.1] sm:text-[42px]">
Four jobs, one calm app
</h2>
<p className="mt-4 text-[17px] leading-relaxed text-muted-foreground">Pick a job to see how Orbit does it for you.</p>
<TabsList
activateOnFocus
onKeyDown={moveWithUpDown}
aria-label="Jobs Orbit does"
className="mt-8 grid h-auto w-full grid-cols-2 items-stretch gap-2 bg-transparent p-0 lg:grid-cols-1"
>
{JOBS.map(({ id, icon: Icon, label, body }) => (
<TabsTrigger
key={id}
value={id}
className="h-auto items-center justify-start gap-3 rounded-[calc(var(--radius)+4px)] border-border px-3 py-2.5 text-left whitespace-normal text-foreground hover:bg-muted/70 data-active:border-[color:var(--dc-accent)] data-active:bg-card data-active:shadow-sm lg:items-start lg:p-4 dark:text-foreground dark:data-active:border-[color:var(--dc-accent)] dark:data-active:bg-card"
>
<span className="dc-icon size-8 shrink-0 lg:size-9">
<Icon className="size-4" aria-hidden="true" />
</span>
<span className="min-w-0">
<span className="block text-[15px] font-semibold lg:mt-0.5">{label}</span>
<span className="mt-1 hidden text-[14px] leading-snug font-normal text-muted-foreground lg:block">{body}</span>
</span>
</TabsTrigger>
))}
</TabsList>
</div>
{JOBS.map(({ id, body, Picture }) => (
<TabsContent
key={id}
value={id}
className="min-w-0 rounded-[var(--dc-radius-card)] bg-[color:color-mix(in_oklab,var(--dc-accent)_7%,var(--background))] p-4 focus-visible:ring-3 focus-visible:ring-ring/50 sm:p-8 lg:flex lg:min-h-[540px] lg:items-center"
>
<p className="mb-4 text-[15px] leading-relaxed text-muted-foreground lg:hidden">{body}</p>
<div className="w-full">
<Picture />
</div>
</TabsContent>
))}
</Tabs>
</div>
</section>
)
}Checklist with product
A heading and six checked points with a short line each, beside the client portal they add up to.
npx shadcn@latest add https://dresscodeui.com/r/dresscode/features-checklist.json// Features, checklist: a heading and six points, each a check, a short title and one line, on one side;
// on the other, the client portal the points add up to, on a soft accent panel with the receipt the
// client just got resting on its corner. The picture is drawn in markup so it wears the theme; it is
// hidden from screen readers and the list says what it shows. On phones the picture follows the list.
import { Check, Download, Receipt } from "lucide-react"
import { cn } from "@/lib/utils"
const POINTS = [
{ title: "Invoices in your brand", body: "Your logo, colors and terms on every page." },
{ title: "Tax worked out", body: "VAT, GST or sales tax, set once per client." },
{ title: "Deposits up front", body: "Take half now and the rest on delivery." },
{ title: "Late fees, politely", body: "Optional, and only after a reminder went out." },
{ title: "Receipts sent for you", body: "The client gets one the moment they pay." },
{ title: "A portal for every client", body: "Every invoice in one place, no account needed." },
]
const ROWS = [
{ id: "INV-1043", what: "Brand identity, phase 2", amount: "$4,200.00", status: "Part paid" },
{ id: "INV-1040", what: "Website retainer, October", amount: "$1,200.00", status: "Paid" },
{ id: "INV-1036", what: "Workshop and notes", amount: "$950.00", status: "Paid" },
] as const
function Portal() {
return (
<div aria-hidden="true" className="relative rounded-[var(--dc-radius-card)] bg-[color:color-mix(in_oklab,var(--dc-accent)_8%,var(--background))] p-4 text-[13px] sm:p-10">
<div className="dc-card overflow-hidden">
<div className="flex items-center justify-between gap-3 border-b border-border p-4 sm:px-5">
<div className="flex min-w-0 items-center gap-3">
<span className="grid size-9 shrink-0 place-items-center rounded-[var(--radius)] bg-primary text-[12px] font-bold text-primary-foreground">AS</span>
<div className="min-w-0">
<p className="truncate font-semibold">Ada Studio</p>
<p className="truncate text-muted-foreground">Invoices for Fernwood Studio</p>
</div>
</div>
<span className="dc-pill dc-pill-line hidden sm:inline-flex">3 invoices</span>
</div>
<div className="p-4 sm:p-5">
<div className="flex items-end justify-between gap-3">
<div>
<p className="text-muted-foreground">INV-1043, due Dec 8</p>
<p className="dc-num mt-1 text-[24px] font-semibold tracking-tight">$2,940.00 left</p>
</div>
<span className="dc-pill dc-pill-hl">Deposit paid</span>
</div>
<div className="mt-4 h-2 overflow-hidden rounded-full bg-muted">
<div className="h-full w-[30%] rounded-full bg-[color:var(--dc-accent)]" />
</div>
<p className="mt-2 flex justify-between text-[12px] text-muted-foreground">
<span className="dc-num">$1,260.00 paid</span>
<span className="dc-num">of $4,200.00</span>
</p>
<span className="mt-4 flex h-9 items-center justify-center rounded-[var(--radius)] bg-primary font-semibold text-primary-foreground">Pay the rest</span>
</div>
<ul className="border-t border-border">
{ROWS.map((r) => (
<li key={r.id} className="flex items-center gap-3 border-b border-border px-4 py-3 last:border-b-0 sm:px-5">
<span className="dc-num hidden text-muted-foreground sm:inline">{r.id}</span>
<span className="min-w-0 flex-1 truncate">{r.what}</span>
<span className={cn("dc-pill", r.status === "Paid" ? "dc-pill-muted" : "dc-pill-line")}>{r.status}</span>
<Download className="size-4 shrink-0 text-muted-foreground" />
</li>
))}
</ul>
</div>
<div className="dc-card mt-3 flex items-center gap-3 p-3.5 sm:absolute sm:right-4 sm:-bottom-7 sm:mt-0 sm:w-[270px]">
<span className="dc-icon size-8 shrink-0">
<Receipt className="size-4" />
</span>
<div className="min-w-0">
<p className="font-semibold">Receipt sent</p>
<p className="truncate text-muted-foreground">to maya@fernwood.studio</p>
</div>
</div>
</div>
)
}
export default function FeaturesChecklist() {
return (
<section aria-labelledby="features-checklist-title" className="py-16 sm:py-24">
<div className="mx-auto grid w-full max-w-[1200px] items-center gap-12 px-5 sm:px-8 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.05fr)] lg:gap-16">
<div>
<p className="text-sm font-semibold text-[color:var(--dc-accent)]">For your clients</p>
<h2 id="features-checklist-title" className="dc-h mt-3 max-w-[520px] text-[32px] leading-[1.1] sm:text-[42px]">
Everything a client needs to pay you
</h2>
<p className="mt-4 max-w-[520px] text-[17px] leading-relaxed text-muted-foreground">
A clear invoice, a way to pay that suits them and a receipt afterwards. Orbit handles the details you would forget.
</p>
<ul className="mt-9 grid gap-x-8 gap-y-6 sm:grid-cols-2">
{POINTS.map((p) => (
<li key={p.title} className="flex gap-3">
<span className="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full bg-[color:var(--dc-highlight)] text-[color:var(--dc-highlight-fg)]">
<Check className="size-3.5" strokeWidth={3} aria-hidden="true" />
</span>
<span>
<span className="block font-semibold">{p.title}</span>
<span className="mt-0.5 block text-[15px] leading-snug text-muted-foreground">{p.body}</span>
</span>
</li>
))}
</ul>
</div>
<Portal />
</div>
</section>
)
}Three cards
Three cards of equal height in a row, each a small picture of the feature over a title, a line and a link.
npx shadcn@latest add https://dresscodeui.com/r/dresscode/features-cards.json// Features, cards: three large cards in a row under a left-aligned heading. Each card has a small picture
// of the feature on top (drawn in markup so it wears the theme, hidden from screen readers), then a
// title, a line of copy and a link. The cards share one height and their links line up along the bottom.
// They stack on phones.
import { ArrowRight, Check, Landmark, Repeat } from "lucide-react"
import type { ComponentType } from "react"
import { cn } from "@/lib/utils"
const BILLED = ["Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
function RetainerVignette() {
return (
<div className="dc-card w-full max-w-[300px] p-4 text-[13px]">
<div className="flex items-center gap-3">
<span className="dc-icon size-8 shrink-0">
<Repeat className="size-4" />
</span>
<div className="min-w-0 flex-1">
<p className="truncate font-semibold">Website retainer</p>
<p className="truncate text-muted-foreground">Northlight, every month</p>
</div>
<span className="dc-num font-semibold">$1,200</span>
</div>
<ol className="mt-4 grid grid-cols-6 gap-1.5 text-center">
{BILLED.map((m, i) => (
<li key={m}>
<span
className={cn(
"mx-auto grid size-7 place-items-center rounded-full",
i < 5 ? "bg-[color:var(--dc-accent)] text-[color:var(--background)]" : "border-2 border-dashed border-[color:var(--dc-accent)]",
)}
>
{i < 5 ? <Check className="size-3.5" strokeWidth={3} /> : null}
</span>
<span className={cn("mt-1.5 block text-[11px]", i < 5 ? "text-muted-foreground" : "font-semibold")}>{m}</span>
</li>
))}
</ol>
</div>
)
}
function ToneVignette() {
return (
<div className="w-full max-w-[300px] text-[13px]">
<div className="dc-card rounded-br-[6px] p-4">
<p className="leading-relaxed">
Hi Tom, a friendly nudge that <span className="font-semibold">INV-1041</span> is due on Friday. Thanks, Ada
</p>
</div>
<div className="mt-3 flex flex-wrap justify-end gap-1.5">
{["Friendly", "Neutral", "Firm"].map((t, i) => (
<span key={t} className={cn("dc-pill", i === 0 ? "dc-pill-hl" : "dc-pill-line text-muted-foreground")}>
{t}
</span>
))}
</div>
</div>
)
}
function PayoutVignette() {
return (
<div className="dc-card w-full max-w-[300px] p-4 text-[13px]">
<div className="flex items-center justify-between">
<p className="text-muted-foreground">Payout</p>
<span className="dc-pill dc-pill-hl">Thursday</span>
</div>
<p className="dc-num mt-1 text-[24px] font-semibold tracking-tight">$7,450.00</p>
<div className="mt-3 flex items-center gap-2 rounded-[var(--radius)] bg-muted px-3 py-2">
<Landmark className="size-4 text-muted-foreground" />
<span className="min-w-0 flex-1 truncate">Account ending 42</span>
<span className="text-muted-foreground">2 days</span>
</div>
</div>
)
}
const CARDS: { title: string; body: string; link: string; href: string; Vignette: ComponentType }[] = [
{
title: "Retainers that bill themselves",
body: "Set the amount and the day once. Orbit sends the invoice every month and stops when the contract ends.",
link: "How retainers work",
href: "#retainers",
Vignette: RetainerVignette,
},
{
title: "Reminders in your own words",
body: "Pick a tone and Orbit writes the follow-ups. Edit any of them before they go, or let them run.",
link: "See the reminder plans",
href: "#reminders",
Vignette: ToneVignette,
},
{
title: "Paid out in two days",
body: "Card and bank payments land in your account two working days later, in your own currency.",
link: "Read about payouts",
href: "#payouts",
Vignette: PayoutVignette,
},
]
export default function FeaturesCards() {
return (
<section aria-labelledby="features-cards-title" className="py-16 sm:py-24">
<div className="mx-auto w-full max-w-[1200px] px-5 sm:px-8">
<div className="flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between lg:gap-12">
<div className="max-w-[620px]">
<p className="text-sm font-semibold text-[color:var(--dc-accent)]">Less admin</p>
<h2 id="features-cards-title" className="dc-h mt-3 text-[32px] leading-[1.1] sm:text-[42px]">
The busywork, handled
</h2>
</div>
<p className="max-w-[440px] text-[17px] leading-relaxed text-muted-foreground lg:pb-1">
Three jobs that used to eat a Friday afternoon, now done while you work on something else.
</p>
</div>
<ul className="mt-12 grid gap-4 lg:grid-cols-3 lg:gap-6">
{CARDS.map(({ title, body, link, href, Vignette }) => (
<li key={title} className="dc-card flex flex-col overflow-hidden">
<div
aria-hidden="true"
className="grid h-[220px] place-items-center border-b border-border bg-[color:color-mix(in_oklab,var(--dc-accent)_7%,var(--card))] px-5"
>
<Vignette />
</div>
<div className="flex flex-1 flex-col p-6">
<h3 className="dc-h text-[21px] leading-snug">{title}</h3>
<p className="mt-2 leading-relaxed text-muted-foreground">{body}</p>
<div className="mt-auto pt-5">
<a
href={href}
className="inline-flex items-center gap-1.5 rounded-[var(--radius)] text-[15px] font-semibold outline-none hover:underline hover:underline-offset-4 focus-visible:ring-3 focus-visible:ring-ring/50"
>
{link} <ArrowRight className="size-4" aria-hidden="true" />
</a>
</div>
</div>
</li>
))}
</ul>
</div>
</section>
)
}Comparison
The product against spreadsheets and email: the same six jobs in two columns, crosses against checks, the product's column raised.
npx shadcn@latest add https://dresscodeui.com/r/dresscode/features-comparison.json// Features, comparison: Orbit against spreadsheets and email, as two columns of the same six jobs. Each
// row says how the job gets done each way, with a cross on the left and a check on the right, and the
// rows line up across the columns (the columns share the grid's rows through subgrid). The Orbit column
// is the raised card with the accent edge. On phones the columns stack, the old way first.
import { ArrowRight, Check, X } from "lucide-react"
import { Button } from "@/components/ui/button"
import { cn } from "@/lib/utils"
const ROWS = [
{ job: "Sending an invoice", before: "Copy last month's file, fix the numbers, export a PDF", orbit: "Pick a client, add the lines and send in a minute" },
{ job: "Following up", before: "Remember who is late and write the awkward email", orbit: "Reminders before and after the due date, in your tone" },
{ job: "Getting paid", before: "Send bank details and keep checking your account", orbit: "Card or bank transfer, matched to the invoice" },
{ job: "Knowing where you stand", before: "A formula you hope still adds up", orbit: "Paid, due and at risk this month, at a glance" },
{ job: "Retainers", before: "A calendar note to bill the same client again", orbit: "Recurring invoices that stop when the contract ends" },
{ job: "Tax time", before: "A weekend matching payments to invoices", orbit: "One tidy export for your accountant" },
]
function Logo() {
return (
<span className="inline-flex items-center gap-2 text-[19px] font-bold tracking-[-0.02em]">
<svg width="20" height="20" viewBox="0 0 22 22" aria-hidden="true">
<circle cx="11" cy="11" r="8.5" fill="none" stroke="currentColor" strokeWidth="3" />
<circle cx="16.5" cy="5.5" r="3" fill="var(--dc-accent)" />
</svg>
<span className="dc-h">Orbit</span>
</span>
)
}
// The columns share seven rows (a header and six jobs) through subgrid on tablets and up.
const column = "md:row-span-7 md:grid md:grid-rows-subgrid"
const list = "md:row-span-6 md:grid md:grid-rows-subgrid"
export default function FeaturesComparison() {
return (
<section aria-labelledby="features-comparison-title" className="py-16 sm:py-24">
<div className="mx-auto w-full max-w-[1200px] px-5 sm:px-8">
<div className="mx-auto max-w-[640px] text-center">
<p className="text-sm font-semibold text-[color:var(--dc-accent)]">Why switch</p>
<h2 id="features-comparison-title" className="dc-h mt-3 text-[32px] leading-[1.1] sm:text-[42px]">
Orbit, or the spreadsheet you have now
</h2>
<p className="mt-4 text-[17px] leading-relaxed text-muted-foreground">
The same six jobs, done two ways. One of them leaves you Friday afternoon.
</p>
</div>
<div className="mx-auto mt-12 grid max-w-[1000px] gap-5 md:grid-cols-2 md:gap-x-6 md:gap-y-0">
<div
aria-labelledby="features-comparison-before"
role="group"
className={cn(column, "rounded-[var(--dc-radius-card)] border border-border bg-[color:color-mix(in_oklab,var(--dc-ink)_3%,var(--background))]")}
>
<div className="px-5 pt-6 pb-5 sm:px-6">
<h3 id="features-comparison-before" className="dc-h flex h-7 items-center text-[19px] text-muted-foreground">
Spreadsheets and email
</h3>
<p className="mt-1 text-[14px] text-muted-foreground">How most of us start</p>
</div>
<ul className={list}>
{ROWS.map((r) => (
<li key={r.job} className="flex gap-3 border-t border-border px-5 py-4 sm:px-6">
<span className="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full bg-muted text-muted-foreground">
<X className="size-3.5" strokeWidth={2.5} aria-hidden="true" />
</span>
<span className="min-w-0">
<span className="block text-[13px] font-semibold text-muted-foreground">{r.job}</span>
<span className="mt-0.5 block text-[15px] leading-snug text-pretty text-muted-foreground">{r.before}</span>
</span>
</li>
))}
</ul>
</div>
<div
aria-labelledby="features-comparison-orbit"
role="group"
className={cn(column, "dc-card overflow-hidden shadow-[var(--dc-shadow)] ring-2 ring-[color:var(--dc-accent)]")}
>
<div className="bg-[color:color-mix(in_oklab,var(--dc-accent)_9%,var(--card))] px-5 pt-6 pb-5 sm:px-6">
<div className="flex items-center justify-between gap-3">
<h3 id="features-comparison-orbit" className="flex h-7 items-center">
<Logo />
</h3>
<span className="dc-pill dc-pill-hl">Saves 2 h a week</span>
</div>
<p className="mt-1 text-[14px] text-muted-foreground">Free for your first three clients</p>
</div>
<ul className={list}>
{ROWS.map((r) => (
<li key={r.job} className="flex gap-3 border-t border-border px-5 py-4 sm:px-6">
<span className="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full bg-[color:var(--dc-accent)] text-[color:var(--background)]">
<Check className="size-3.5" strokeWidth={3} aria-hidden="true" />
</span>
<span className="min-w-0">
<span className="block text-[13px] font-semibold text-[color:var(--dc-accent)]">{r.job}</span>
<span className="mt-0.5 block text-[15px] leading-snug font-medium text-pretty">{r.orbit}</span>
</span>
</li>
))}
</ul>
</div>
</div>
<div className="mt-10 flex flex-col items-center gap-3 text-center">
<Button size="lg" className="h-12 px-6 text-[16px] font-semibold" nativeButton={false} render={<a href="#start" />}>
Switch in ten minutes <ArrowRight className="size-4" aria-hidden="true" />
</Button>
<p className="text-[14px] text-muted-foreground">Bring your clients over from a CSV. No card needed.</p>
</div>
</div>
</section>
)
}