Skip to content
/ aurora Public

🎨 Aurora - The UI bricks that power up Leon

License

Notifications You must be signed in to change notification settings

leon-ai/aurora

Repository files navigation

@leon-ai/aurora - npm version

The UI bricks that power up Leon.


Installation

# Install Peer Dependencies
npm install react@^18.2.0 react-dom@^18.2.0 remixicon@^3.4.0 @fontsource/source-sans-pro@^5.0.8

# Install Aurora
npm install @leon-ai/aurora

Usage

// Fonts & Icons
import '@fontsource/source-sans-pro/200.css'
import '@fontsource/source-sans-pro/300.css'
import '@fontsource/source-sans-pro/400.css'
import '@fontsource/source-sans-pro/600.css'
import '@fontsource/source-sans-pro/700.css'
import '@fontsource/source-sans-pro/900.css'
import 'remixicon/fonts/remixicon.css'

import '@leon-ai/aurora/style.css'
import { WidgetWrapper, Button } from '@leon-ai/aurora'

export const Example: React.FC = () => {
  return (
    <WidgetWrapper>
      <Button iconName="send-plane">Send</Button>
    </WidgetWrapper>
  )
}