@xanadu_ai/xanadu-component-library
v2.1.3
Published
Xanadu Component Library - includes components, styles, and utilities to provide a coherent user experience across projects.
Downloads
87
Keywords
Readme
Xanadu Components
Storybook
The Xanadu components and their various states can be previewed here.
Getting Started
npm install @xanadu_ai/xanadu-component-library
// or
yarn add @xanadu_ai/xanadu-component-library
Here's a basic example using our Button
component
import * as React from 'react'
import ReactDOM from 'react-dom'
import { Button } from '@xanadu_ai/xanadu-component-library'
function App() {
return (
<Button
type="primary"
label="Hello World"
onClick={() => console.log('Hello World')}
/>
)
}