Skip to content
Twentyfirst UIPro

Quote Builder

CRM · QuoteBuilder, Panel

View as Markdown

A quote or proposal: line items with quantity, unit, unit price and discount, optional extras the customer ticks on, and the subtotal, discounts, VAT and total worked out as you type.

  • onChange(lines) makes quantity, price and discount editable and optional lines tickable; without it the quote is read only. onAdd and onRemove add and remove lines.
  • taxRate in percent adds the VAT row. Money goes through Intl in currency.
  • Optional lines that are not ticked stay visible but are struck through and not counted.

Quote Q-2026-118

Website relaunch · Nordhafen Outdoor

ItemQtyPriceDiscountTotal
Discovery and conceptTwo workshops, sitemap, content plan
€6,400
DesignDesign system and 12 page templates
h€7,680
DevelopmentNext.js, CMS, shop integration
h€14,490
Care planOptionalUpdates, monitoring, 4 h support
month€4,680
Photo shootOptionalOne day, 40 edited pictures
€2,800
Subtotal
€34,860
Discounts
−€1,610
VAT 19%
€6,317.50
Total
€39,567.50

Props

QuoteBuilder

PropTypeNotes
linesQuoteLine[]Required
onChange?(lines: QuoteLine[]) => voidMakes quantity, price and discount editable and optional lines tickable.
onAdd?() => voidShows "Add line".
onRemove?(id: string) => voidShows a remove button per line.
currency?string
taxRate?numberVAT or sales tax in percent (e.g. 19); no tax row when unset.
label?stringAccessible name (default "Quote").
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Panel

PropTypeNotes
side?boolean
title?string
subtitle?string
action?ReactNode
children?ReactNode
surface?Surface`"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`.
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.