# Introduction

## Installation

Use npm or yarn:

```
$ yarn add @theise3107/axis
```

{% hint style="info" %}
&#x20;Axis supports SSR by default, no configuration needed
{% endhint %}

Use `ThemeProvider` to wrapper all of the styled-components to provide the theme as prop:

{% code title="app.js" %}

```jsx
import React from 'react'
import { ThemeProvider } from '@therise3107/axis'

import theme from 'styles/theme'

const app = ({ children }) => (
  <ThemeProvider theme={theme}>
    {children}
  </ThemeProvider>
)
```

{% endcode %}

{% hint style="info" %}
Providing your theme is optional but it is highly recommended to extend the default theme as per your style
{% endhint %}

Use styled-components in your pages

```jsx
import React from 'react'
import { Row, Column, Container, Heading, Text } from '@therise3107/axis'

const home = () => (
    <Container>
        <Row>
            <Column>
                <Heading>Cats 🐱</Heading>
                <Text>Cats are planning global invasion!</Text>
            </Column>
            
            <Column>
                <Heading>Dogs 🐶</Heading>
                <Text>Dogs are here to the rescue!</Text>
            </Column>
        </Row>
    </Container>
)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://collegedevs.gitbook.io/axis/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
