Getting Started
Want to skip the docs? Try our MCP Server
#
Installation
#
#
Install package
#
Install the @optiaxiom/react package using your package manager of choice:
npm install @optiaxiom/react#
Setup CSS imports
#
Make sure to configure your bundler to handle CSS Imports.
#
Add global provider
#
Wrap your application with AxiomProvider:
import { AxiomProvider } from "@optiaxiom/react";
export function App() {
return <AxiomProvider>{/* Your app code here */}</AxiomProvider>;
}#
Usage
#
#
Basic usage
#
Import components from @optiaxiom/react and use them:
import { Button } from "@optiaxiom/react";
export function MyComponent() {
return <Button>Hello World!</Button>;
}#
What to read next
#
Components
Discover all the components available in our library and how to use them.
Styling
Learn about our styling solution and how to consume our design tokens.
Icons
Font Awesome icon kit for use with the Optimizely Design System
MCP
MCP server enabling AI assistants to generate accurate Axiom code.
Last updated on