Quotation Web Component

Stable

The Shipthis Quotation Form Wrapper is a prebuilt web component you can embed in your website. It connects to your Shipthis ERP account and lets prospects generate accurate quotes in real time.

Get a quote
FROMSGSIN
TODEHAM
Ocean FCL
$2,840
BEST
Continue →
Interactive Sandbox
Customize colors, layout, and visibility live — copy the exact snippet.

Quick start

html
<shipthis-quotation
  organisation-id="YOUR_ORG_ID"
  api-key="YOUR_API_KEY"
  captcha-key="YOUR_CAPTCHA_KEY"
  title="Request a Quote"
  layout="accordion"
  show-header="true"
  show-footer="true"
  show-clear-button="true"
></shipthis-quotation>

<!-- Add before </body> -->
<script type="module"
  src="https://cdn.jsdelivr.net/gh/shipthisco/quotation-web-component@master/dist/qwc.js">
</script>

Installation

Add the script before </body>:

html
<script type="module"
  src="https://cdn.jsdelivr.net/gh/shipthisco/quotation-web-component@master/dist/qwc.js">
</script>

Basic usage

html
<shipthis-quotation
  organisation-id="YOUR_ORG_ID"
  api-key="YOUR_API_KEY"
  captcha-key="YOUR_CAPTCHA_KEY"
  title="Request a Quote"
  layout="accordion"
></shipthis-quotation>

Required attributes

AttributeDescription
organisation-idYour organisation's unique ID
api-keyAPI key to authenticate requests
captcha-keyYour Google reCAPTCHA v2 site key

Optional attributes

AttributeDescriptionDefault
titleWidget heading"Request a Quote"
descriptionSubtitle text""
layoutfullform · stepper · accordion · tabsfullform
show-headerShow header sectiontrue
show-footerShow footer sectiontrue
show-clear-buttonShow clear buttontrue
submit-button-textSubmit button label"Submit"
clear-button-textClear button label"Clear"
success-messageMessage shown after submission""
themeJSON theme object (see Theming)

Theming

Pass a JSON string to the theme attribute to customise colors and radius:

html
<shipthis-quotation
  organisation-id="YOUR_ORG_ID"
  api-key="YOUR_API_KEY"
  captcha-key="YOUR_CAPTCHA_KEY"
  theme='{
    "mode": "dark",
    "radius": "8px",
    "dark": {
      "primary": "#d4af37",
      "background": "#121212",
      "secondary": "#333333",
      "accent": "#ffd700",
      "text": "#e0e0e0",
      "submitButton": { "background": "#d4af37", "text": "#000000" }
    }
  }'
></shipthis-quotation>

Slots

Inject custom HTML into the footer slot:

html
<shipthis-quotation organisation-id="YOUR_ORG_ID" api-key="YOUR_API_KEY" captcha-key="YOUR_CAPTCHA_KEY">
  <div slot="footer">Powered by your-brand.com</div>
</shipthis-quotation>