Getting Started
Installing Spark Core is straightforward - go to the packages section in toddle, search for Spark Core and click the install button. That's it! For more detailed instructions, check out the package installation guide in the toddle documentation.
Ready to build? Let's create our first component. This guide can be applied to any component in the package. The structure is always the same. If you can use one component, you can use all components.
Let's install Spark Core and create our first component: a fully functional dialog. You'll learn how to assemble and style the components from the package.
Advanced
Learn advanced topics to adapt the package to your project. Spark Core is very flexible. Once you understand how to use the components, there are almost no limits to what you can build.
You can add animations to all components in Spark Core that have moving parts. Here we show you how to do this with a dialog.
Spark Core components are uncontrolled by default. But in some cases you need to control states from the outside. Let's take a look at how you can do that.
It is good practice to wrap components you import from external packages. Find out how and why.