Appearance
Tutorial
Nine short steps from an empty project to a themed, routed page with a token-enforced component. Each step ends with a check you can run, and every code sample on these pages is compiled by the docs test suite, so what you read is what works.
You need a project from the Quick start. Every command below runs in its folder.
- A first component
- State and templates
- Props and variants through a contract
- Styling with tokens
- Theming and dark mode
- Pages and routing
- Layouts
- Accessibility tests
- Keeping it checked
The interactive in-browser version of this tutorial comes with the playground, which is deferred.