Open-source intestacy calculator

WillSolicitor.co.uk Intestacy Calculator

A lightweight, embeddable intestacy calculator that helps your visitors understand UK inheritance rules — and connects them with professional will-writing services.


Built for developers and partners

Everything you need to integrate a professional intestacy calculator into your website or application.

</>

Easy Integration

Embed the full calculator with a single script tag. No build tools, no frameworks — just drop it into any HTML page and you are up and running in seconds.

🎨

Customisable Themes

Ships with light and dark themes out of the box. Use theme:'none' to strip all default styles and bring your own CSS for a fully branded experience.

Accessible

WCAG compliant, fully keyboard navigable, and screen-reader friendly. Every user gets a first-class experience regardless of how they browse.


Examples

Explore different integration patterns and themes to find the right fit for your project.

Default

Basic Example

The standard implementation with the default light theme. A great starting point to see the full question flow and results display.

View example
Theming

Custom Theme

A CSS-agnostic dark theme built with theme:'none'. Shows how to completely restyle the calculator with your own design tokens.

View example
Partners

Partner Install

Demonstrates the recommended script-tag integration for partners and affiliates. Minimal configuration, maximum flexibility.

View example
Minimal

Simple Include

The most minimal setup possible. Just a container div and one script include — ideal for quick prototyping or testing.

View example
Email

Email Compatible

Optimised for email newsletters and marketing campaigns. Click-through functionality that works across all major email clients.

View example

Quick Start

Get up and running in under a minute using a script tag for instant integration.

Script tag
<!-- Add a container element -->
<div id="calculator"></div>

<!-- Include the script -->
<script src="intestacy-calculator.js"></script>
<script>
  new IntestacyCalculator({
    container: '#calculator',
    theme: 'light'
  });
</script>