Integrate JavaScript code into your Dart web app.
Seamlessly integrate JavaScript libraries and APIs into your Dart web app.
The Dart web platform provides powerful tools to call JavaScript from Dart and vice-versa and allows you to leverage the vast JavaScript ecosystem without leaving your Dart code.
This page provides a central hub for learning about JavaScript interoperability
in Dart. You'll find resources to get you started, detailed usage guides, and
information on the latest dart:js_interop library. Whether you're looking to
use a specific JavaScript library, or interact with browser APIs, this is the
place to start.
Get started with JS interop:
Review the reference guides:
Interact with the browser:
Additional resources
Previous JavaScript interop libraries:
Additional documentation on JavaScript interop:
Next Usage
Was this page's content helpful?
Unless stated otherwise, the documentation on this site reflects Dart 3.13.0. Page last updated on 2025-12-17. View source or report an issue.