Skip to Content
GuidesInstallation

Getting Started

Installation

Install the @optiaxiom/react package using your package manager of choice:

npm install @optiaxiom/react

Make sure to configure your bundler to handle CSS Imports.

Wrap your application with AxiomProvider:

import { AxiomProvider } from "@optiaxiom/react"; export function App() { return <AxiomProvider>{/* Your app code here */}</AxiomProvider>; }

Usage

Import components from @optiaxiom/react and use them:

import { Button } from "@optiaxiom/react"; export function MyComponent() { return <Button>Hello World!</Button>; }

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

Last updated on