Skip to content

Towers documentation

Learn how to call the Towers API and draw a Program in React. The Quickstart walks through a request and renders the response.
Tower (Property)
Retention 70%
Property quota share
XOL Treaty - Per Event (Property)
Retention
Retention 70%
Cat XL 1, 10M xs 10M per eventCat XL 2, 30M xs 20M per eventCat XL 3, 50M xs 50M per event
XOL Treaty - Per Risk (Property)
Retention
Risk XL 1, 4M xs 1M per riskRisk XL 2, 5M xs 5M per risk
XOL Treaty - Aggregate (Property)
Retention
Retention 65%
Aggregate XL, 20M xs 40M xs 5M aggregate
XOL Treaty - Per Event (Whole account)
Retention
Whole-account clash XL, 15M xs 10M per event
kept by the cedant signed firm orderWidth is share of the risk, height is amount.

Click a layer to see its terms.

Everything above is the real package drawing real API output. Pick a Program, drag the loss, click a layer.

import { Towers } from '@vinsa/towers';
import '@vinsa/towers/styles.css';
<Towers data={response} />;

The API does the layering

Quota share, surplus, facultative and excess of loss, split by currency, line of business and basis. You send a Program whose Risks list their protecting Contracts; you get back shapes ready to draw.

One component draws it

<Towers /> takes the response unchanged. Height is amount, width is share of the risk. React is its only peer dependency.

It looks like your product

Plain CSS with a handful of variables for colour and font. No Tailwind, no design system to adopt.

Your key stays on your server

The API is called server to server with a key we issue you. Nothing secret reaches the browser.