Axonyx UI
Docs/Installation

Installation

Bring Foundry into your Axonyx project.

You will need Rust and the Axonyx CLI.Framework setup ↗

1

Create a project

Start a new Axonyx project using the site template.

Terminal
create-axonyx my-app --yes --template site
cd my-app
2

Add Foundry UI

Add the Foundry UI package to your project. Start here if you already have an Axonyx app.

Terminal
cargo ax add ui
3

Use your first component

Import a component and use it in a page.

app/page.asx
use "@axonyx/ui"
import { Button } from "@axonyx/ui/foundry/Button.asx"

page Home() {
  return ASX {
    <Button variant="primary">Ship it</Button>
  }
}
Preview
Explore Button ↗Next: Theming →