Magoo Component UI logo Magoo Component UI
← Catalog

FNOL Form

fnol-form organism experimental

A first-notice-of-loss form card - incident type, date of loss, description, photo dropzone and submit.

Also in: Forms

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default

Report a claim

Tell us what happened and we'll start your claim.

Photos
Home

Report a claim

Tell us what happened and we'll start your claim.

Photos

Props

NameTypeReq
incident_types array
placeholder string

Related components

How to use

behavior.js intercepts the form submit, prevents the default navigation, reads the incident type, date of loss, description and attached photo count from the fields, and dispatches a bubbling "fnol:submit" CustomEvent with those values in its detail. The portable self-init needs no props object and the listener is removed on cleanup. The photo input is visually hidden and opened by clicking the dropzone label.

Use cases

form WCAG AA SEO 30 dir: both ai-generated