Block 222 of 297
Price Estimate
Typical self-pay prices for common services in an accessible table, a disclaimer and an estimate request box.
- Puck key
- PriceEstimateBlock
- Export
- priceEstimateBlock
- React component
- <PriceEstimate />
- Path
- components/puck/price-estimate-block.tsx
- Dependencies
- None
- License
- MIT
About this block
When to use it, how to write for it, and what to change in the code.
What it's for
A price transparency section with a three-column table of common services, typical self-pay ranges and what to expect with insurance, followed by an update date, a disclaimer and an optional rights note. A sticky indigo box beside the table invites people to request a personal estimate. On phones the box moves below and the table scrolls sideways.
- A health center "Costs and billing" page
- A self-pay or uninsured patient information page
- A dental or lab service page listing typical prices
Writing the content
- Fill Prices updated with a month and year; the block prints it as "Prices updated January 2026." Update it whenever prices change.
- Use Disclaimer to say these are estimates and what changes the final cost. The default text calls the prices samples, so rewrite it before publishing.
- Confirm with your billing or compliance team that the Your rights note matches the rules that apply to you. Services takes up to 30 rows.
Accessibility
- The price list is a real table with column headers, a row header per service and a caption that names the columns and counts the services (WCAG 1.3.1).
- The scrolling table region is focusable and labeled, so it can be scrolled with the keyboard, and shows a focus ring (WCAG 2.1.1).
- The estimate box is a labeled aside; its button and phone link are at least 44px tall with a white focus outline on the indigo background.
Customizing the code
- The estimate box is bg-indigo-600 and sticks with lg:sticky lg:top-8; remove those classes to let it scroll with the page.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Headingtext
- Heading levelselect
- Introtextarea
- Service column labeltext
- Price column labeltext
- Insurance column labeltext
- Servicesarray
- Prices updatedtext
- Disclaimertextarea
- Your rights notetextarea
- Estimate box headingtext
- Estimate box texttextarea
- Button texttext
- Button linktext
- Phonetext