Skip to content
UI Kit
Accent color

Insurance

For insurers, brokers and agencies. A tariff calculator, what each tariff pays in real situations, claim reporting, products with a bundle discount and an advisor finder.

5 variants
Switch category

Insurance

Tariff calculator

Sum insured and age on sliders, the excess on a gliding switch, add-ons as boxes. Three tariffs re-price as you move, the chosen one lifts.

Open in Studio

Real situations

Pick a situation like a burst pipe or a stolen bike. A short story explains it and bars grow to show what each tariff pays.

Open in Studio

Report a claim

Three steps that slide in their direction, with a progress line. Missing fields are named, at the end a claim number and a status line.

Open in Studio

Products and bundle

Insurance types to tick, the icon turns into a check. The monthly total glides, three segments fill and the bundle discount switches on at three.

Open in Studio

Advisor finder

A postcode search over the advisors, the cards rise in again on every search, each with languages, the next free date, call and booking.

Open in Studio

Details

What Insurance brings along, read from the registry and the source.

Variants
5
Version
1.0.0 · since 1.1.0
File
components/ui/insurance.tsx
Brings along
utilskitbuttoniconrevealsectionmotioninputtextareaslider
npm packages
None
Languages
English and German, 46 texts of its own

Props

The InsuranceProps interface from components/ui/insurance.tsx, with the comments from the code.

  • variantoptional
    InsuranceVariant

    tariff-calculatorscenariosclaimproductsadvisor

  • eyebrowoptional
    React.ReactNode
  • titleoptional
    React.ReactNode
  • descriptionoptional
    React.ReactNode
  • tariffsoptional
    InsuranceTariff[]
  • sumRangeoptional
    [number, number]

    tariff-calculator: the range of the sum insured and the reference sum the base prices belong to

  • sumBaseoptional
    number
  • addonsoptional
    { id: string; label: string; price: number }[]
  • scenariosoptional
    InsuranceScenario[]
  • claimTypesoptional
    { id: string; label: string; icon?: IconName }[]

    claim: kinds of damage

  • productsoptional
    InsuranceProduct[]
  • selectedoptional
    string[]

    products: ids picked at the start

  • bundleDiscountoptional
    number

    products: percent off from three products

  • advisorsoptional
    InsuranceAdvisor[]
  • currencyoptional
    string
  • onSubmitoptional
    (data: Record<string, string>) => void

Built-in texts

Insurance writes these texts itself. The language follows the KitProvider, the labels prop replaces single ones.

Show all 46 texts
sumEnglish Sum insuredGerman Versicherungssumme
deductibleEnglish ExcessGerman Selbstbeteiligung
noneEnglish NoneGerman Keine
ageEnglish AgeGerman Alter
yearsEnglish {n} yearsGerman {n} Jahre
addonsEnglish Add to every tariffGerman Für jeden Tarif dazu
perMonthEnglish / monthGerman / Monat
recommendedEnglish RecommendedGerman Empfohlen
chooseEnglish Choose {name}German {name} wählen
yearlyEnglish Pay yearly and save 5%German Jährlich zahlen und 5 % sparen
coveredEnglish CoveredGerman Versichert
notCoveredEnglish Not coveredGerman Nicht versichert
upToEnglish up to {price}German bis {price}
pickEnglish Pick a situationGerman Situation wählen
tariffsEnglish TariffsGerman Tarife
stepEnglish Step {n} of {total}German Schritt {n} von {total}
whatEnglish What happened?German Was ist passiert?
whenEnglish When did it happen?German Wann ist es passiert?
describeEnglish Tell us brieflyGerman Erzählen Sie kurz
describeHintEnglish Where, how, and what is damaged.German Wo, wie und was beschädigt ist.
photosEnglish PhotosGerman Fotos
photosHintEnglish Pictures of the damage help us pay faster.German Bilder vom Schaden helfen uns, schneller zu zahlen.
policyEnglish Policy numberGerman Versicherungsnummer
ibanEnglish IBAN for the paymentGerman IBAN für die Auszahlung
backEnglish BackGerman Zurück
nextEnglish ContinueGerman Weiter
submitEnglish Report the claimGerman Schaden melden
requiredEnglish Please fill in this field.German Bitte füllen Sie dieses Feld aus.
sentEnglish Claim {id} receivedGerman Schaden {id} eingegangen
sentTextEnglish Your case manager will be in touch within 24 hours. You can follow every step here.German Ihre Sachbearbeiterin meldet sich innerhalb von 24 Stunden. Jeden Schritt können Sie hier verfolgen.
receivedEnglish ReceivedGerman Eingegangen
reviewEnglish In reviewGerman In Prüfung
paidEnglish PaidGerman Ausgezahlt
bundleEnglish Bundle discountGerman Paketrabatt
bundleTextEnglish {n}% off from three productsGerman {n} % Rabatt ab drei Versicherungen
totalEnglish TogetherGerman Zusammen
applyEnglish Continue to the applicationGerman Weiter zum Antrag
selectedEnglish {n} selectedGerman {n} gewählt
fromEnglish from {price}German ab {price}
findEnglish Find your advisorGerman Berater finden
postcodeEnglish PostcodeGerman Postleitzahl
searchEnglish SearchGerman Suchen
noAdvisorEnglish No advisor near {code} yet. Our phone team helps you right away.German In der Nähe von {code} gibt es noch keine Beratung. Unser Telefonteam hilft sofort.
nextFreeEnglish Next freeGerman Nächster Termin
callEnglish CallGerman Anrufen
bookEnglish Book a meetingGerman Termin buchen

Accessibility

Read from the source of the component.

  • Insurance handles the keys Arrow up, Arrow down, Arrow left and Arrow right itself.
  • Sets aria-checked, aria-current, aria-label, aria-live and aria-selected, so screen readers announce purpose and state.
  • Uses the roles radio, radiogroup, status, tab and tablist.
  • Announces changes through a live region without moving focus.
  • Every field has a label, visible or for screen readers.
  • Adds text for screen readers where icons and graphics stand alone.
  • Shows a visible focus ring when used with the keyboard.
  • The server renders the starting state in full, JavaScript only adds the interaction.

Motion

  • Brings animations of its own, calmly timed and without wobble.
  • With reduced motion (prefers-reduced-motion) it stays still. 5 places in the code switch motion off then.

Frequent questions

How do I install Insurance?

With aiw add @ai-website/insurance. The command puts components/ui/insurance.tsx into your project, the code is yours from then on. It brings along button, icon, reveal, section, motion, input, textarea and slider. It needs no further npm packages.

Which variants does Insurance have?

5 variants, Tariff calculator, Real situations, Report a claim, Products and bundle and Advisor finder. You pick one with the variant prop, for example variant="scenarios".

Can I translate the texts of Insurance?

Yes. Insurance carries 46 texts of its own in English and German, such as “Sum insured”, “Excess” and “None”. The language follows the KitProvider, single texts change through the labels prop.

Can an AI assistant build with Insurance?

Yes. Through the MCP server of the aiw CLI, Claude, Cursor, GitHub Copilot, Windsurf, Codex and Gemini find Insurance with aiw_components and install it with aiw_add @ai-website/insurance. Name the variant in your prompt, for example variant="tariff-calculator", and the assistant writes your content straight into the props.

Can I adjust Insurance without code?

Yes, in the Studio. All 5 variants are editable there, texts, lists and switches. The Studio writes the matching Insurance code to copy.

Often searched

Jump to

Copied to the clipboard