Pure vanilla JavaScript • No dependencies • Fully accessible
Add one line of code to your website. Copy the embed code from your TradeCalcs dashboard and paste it into your HTML. The widget will initialize automatically.
Yes! The widget is fully responsive and works perfectly on all screen sizes. Touch interactions are supported, and the widget will adapt to your device's screen.
Absolutely. Use CSS custom properties (variables) to match your brand. You can customize background colors, text colors, borders, border radius, and more.
Yes. The widget is keyboard accessible (Space/Enter to toggle), includes proper ARIA attributes for screen readers, and respects the user's reduced-motion preferences.
Static widgets like this FAQ accordion are available for $19 one-time purchase. You own them forever with no monthly fees.
For static widgets: No. For hosted calculators with lead capture: 12 months included, then optional $49-99/year renewal for hosted delivery service.
You get the widget code, installation instructions, and lifetime updates. For hosted services, you also get email notifications, webhook delivery, and technical support.
Zero. This is pure vanilla JavaScript with no external dependencies. No jQuery, no React, no build tools required.
The JavaScript is ~3.5KB minified. The CSS is ~2KB minified. Total payload under 6KB for both files combined.
It works in all modern browsers (Chrome, Firefox, Safari, Edge). For IE11 support, you would need to polyfill some ES6 features, but IE11 is officially retired.
Yes, with our Agency plan. You get reseller rights to install widgets on multiple client sites with white-label embedding.
Email support@tradecalcs.com or use the contact form on our website. We typically respond within 24 hours on business days.
Yes! We offer custom development services for specialized calculators, integrations, or modifications. Contact us for a quote.
<!-- Replace d7879159.tradecalcs.pages.dev with tradecalcs.com once production domain is configured --> <link rel="stylesheet" href="https://d7879159.tradecalcs.pages.dev/widgets/faq-accordion.css"> <script src="https://d7879159.tradecalcs.pages.dev/widgets/faq-accordion.js"></script>
<div data-tradecalcs-faq>
<div data-faq-item>
<div data-faq-q>Your question here?</div>
<div data-faq-a>
<p>Your answer here.</p>
</div>
</div>
<!-- Add more items... -->
</div>
<div data-tradecalcs-faq
data-single-open="true" <!-- Only one open at a time -->
data-open-first="true" <!-- Auto-open first item -->
data-icon="plus" <!-- Icon: chevron, plus, or none -->
data-speed="300"> <!-- Animation speed in ms -->
...
</div>
:root {
--tc-faq-bg: #ffffff;
--tc-faq-border: #e5e7eb;
--tc-faq-question-color: #111827;
--tc-faq-answer-color: #4b5563;
--tc-faq-hover-bg: #f9fafb;
--tc-faq-icon-color: #6b7280;
--tc-faq-radius: 8px;
--tc-faq-spacing: 1rem;
}
Our Network
Built by Cali Dream Construction · CSLB #1054602
Need a custom calculator for your trade business? We'll get back to you within 24 hours.