Embeddable Widgets

Add Velora crash data to your website with simple HTML tags. All widgets use Shadow DOM for style isolation.

Installation

Add this script tag to your page:

<script src="https://velora-app-lime.vercel.app
/embed/velora-widgets.js"></script>

Crash Map

Display a map centered on a crash location.

<velora-crash-map
  latitude="39.7392"
  longitude="-104.9903"
  zoom="14"
  width="100%"
  height="300px"
></velora-crash-map>

Attributes

AttributeDefaultDescription
latitude39.8283Latitude
longitude-98.5795Longitude
zoom12Map zoom level
width100%Widget width
height300pxWidget height

Intersection Stats

Display crash statistics for an intersection.

<velora-intersection
  address="Colfax Ave & Broadway"
  state="CO"
  theme="light"
></velora-intersection>

Attributes

AttributeRequiredDescription
addressYesIntersection or street address
stateYesTwo-letter state code
themeNolight or dark

Attorney Badge

Display a Velora-verified attorney badge that links to the attorney profile.

<velora-attorney-badge
  slug="john-doe-co"
  theme="light"
></velora-attorney-badge>

Attributes

AttributeRequiredDescription
slugYesAttorney slug from Velora
themeNolight or dark