nextui.dev
Home
Docs
Saved
Pricing
Components37
  • Forms & inputs7
  • Cards13
  • Buttons, badges & avatars8
  • Feedback & display6
  • Effects3
Agents17
  • Chat inputNew
  • Task checklistNew
  • ReasoningNew
  • Tool callNew
  • Tool approvalNew
  • SourcesNew
  • Agent timelineNew
  • Artifact panelNew
  • Streaming messageNew
  • Conversation shellNew
  • Voice agentNew
  • Voice orbNew
  • Thinking ring
  • Thinking waveNew
  • Thinking sparkle
  • Thinking bot
  • Prompt deckNew
Blocks20
  • Agent chatNew
  • Pill heroNew
  • Grid hero
  • Moodboard generatorNew
  • Waitlist heroNew
  • Intro bannerNew
  • Creative home heroNew
  • Chat heroNew
  • App shelfNew
  • Usage card
  • Design resultsNew
  • Pricing tiers
  • Dashboard home
  • The shiftNew
  • Launch perksNew
  • Testimonials
  • Quote
  • Team
  • Leads tableNew
  • Sign in
Pages10
  • ASCII workspace$49
  • CRM overviewNew
  • Marketing dashboardNew
  • Developer portfolio$49
  • Particle landing$49
  • Particle story$49
  • Statement converter$49
  • AI photo studio$49
  • Group card launch$49
  • Month-end storyNew
Themes9
  • Default
  • Ember
  • Ocean
  • Forest
  • Grape
  • Rose
  • Amber
  • Clay
  • Brutal
Upgrade
nextui.dev

nextui components, blocks and themes you install with one command.

Product

  • Components
  • Blocks
  • Themes
  • Pricing

Resources

  • Docs
  • Roadmap
  • GitHub

Legal

  • License
  • Privacy
  • Terms
  • Refunds

nextUI

[ 200 OK ] · nextUI

© 2026 NEXTUI • All rights reserved.

Upgrade
ComponentsCardsService receipt
Copy promptCopy prompt

Customize

Small line above the title

Heading of the receipt

Reference number

Date shown next to the reference

Button label

JSX · copied with Copy prompt

<ServiceReceipt />

Service receiptNew

A light ticket-style receipt with notched edges, dashed tear lines and a scalloped bottom: tick service lines and the amount adds up before starting the project.

Installation

Set your access key from API keys as NEXTUI_TOKEN in .env.local and add the @nextui namespace below to components.json once. Then every item installs by name. Each install counts as a copy on a free account.

$pnpm dlx shadcn@latest add @nextui/service-receipt
1{
2 "registries": {
3 "@nextui": {
4 "url": "https://nextui.dev/r/{name}.json",
5 "headers": { "Authorization": "Bearer ${NEXTUI_TOKEN}" }
6 }
7 }
8}

Usage

1"use client";
2
3import { ServiceReceipt } from "@/components/nextui/service-receipt";
4
5export function Example() {
6 return (
7 <ServiceReceipt
8 brand="Acme Studio"
9 title="Service Receipt"
10 reference="000009852256"
11 date="May 12, 2026"
12 items={[
13 { label: "NextUI Development", price: 1000 },
14 { label: "Website Design", price: 1200, checked: true },
15 { label: "Copywriting", price: 400 },
16 ]}
17 onStart={(selected, total) => console.log(selected, total)}
18 />
19 );
20}

API reference

Edit props live in the preview above, or see all 11 props
PropTypeDefaultDescription
brandstring"Your Website"Small line above the title
titlestring"Service Receipt"Heading of the receipt
iconReactNodeReceiptText iconIcon in the round badge at the top
referencestring"000085752257"Reference number
datestring"Mar 22, 2023"Date shown next to the reference
itemsServiceReceiptItem[]2 sample linesLines with label, price and an optional starting checked flag; labels must be unique
format(value: number) => stringwhole US dollarsFormats prices and the amount
onChange(checked: boolean[]) => void–Called with the ticked flags whenever a line is toggled
ctaLabelstring"Start Project"Button label
onStart(selected: ServiceReceiptItem[], total: number) => void–Called with the ticked lines and their total when the button is pressed
classNamestring–Extra class on the root

Related

All components

Contact stackNew

Revenue cardNew

Swipe deckNew

Sign in to see the code

Preview it freely. A free account copies code and prompts a few times a day.

Sign in