Documentation
Asgard
Getting started
Theming
Guides
Inputs & forms
Pickers
Data display
Layout & docking
Feedback & overlays
Navigation & chrome
Getting started
Add Asgard
From your EkkoJS project root:
ekko add @ekko/asgardThat records @ekko/asgard in your ekko.json and installs it into the store. No bundler config, no
peer-dependency juggling.
Wrap your app
Asgard components read their colors from a ThemeProvider. Add one near the root of your app and feed it
a theme:
themes is a map of ~30 built-in palettes. Swap themes.nord for themes.dracula, themes.githubLight,
themes.tokyoNight, etc., or pass your own object. See Theming.
With a rune page
In a ekko:rune app, drop components straight into a page, they render on the server and hydrate on the
client:
Imports
- Components and hooks:
@ekko/asgard - Themes and theme types:
@ekko/asgard/theme