Installation
All the Warp Elements code is provided as a single package and each component can be imported from this package.
Install from NPM
The Warp Elements package can be installed from NPM.
Install from Eik
The same package is also available via our Eik CDN server
Using Components
Once installed, components can be used in your HTML markup.
Importing from the NPM package
👉 This is the most common method and should be used in most cases When importing from NPM you will need to ensure you have build tooling in place. If you are working with Podium podlets or layouts which is the most common use case at Finn, you likely already have Eik in place with Rollup or Esbuild in which case no further action should be needed. ExampleImporting directly from Eik
👉 This is great for prototyping (can also be used in production)It is also possible to import components directly from the URL on our Eik server. While not common, it should be possible to write Elements code without the need for a build setup. You might find this useful for rapid prototyping something on a hack day for example!
Example