Skip to main content
Version: v3.x.x

Dependencies in Lit Actions

We preload some dependencies for you:

Adding your own dependencies

To add your own dependencies, you'll have to use a bundler, and provide the bundle as your Lit Action. There's an example of how to do this using esbuild here, but you could use any bundler:

Built in functions

We provide a number of functions in the Lit.Actions.* namespace, to do things like call a contract or check an access control condition. The API docs for this are located here: