@itxura/react v1.5.2
@itxura/react
React components for the Itxura Design System
Getting started
To install @itxura/react
in your project run the following command using npm:
npm install -S @itxura/react
This package requires Sass in order to compile styles.
Usage
The @itxura/react
package provides components for the ITX Design System.
To use a component, you can import it directly from the package:
import { Button } from '@itxura/react'
function MyComponent() {
return <Button>My button</Button>
}
To include the styles for a specific component, you can either import all the styles from the project or include the styles for a specific component:
// Bring in all the styles for ITX
@use '@itxura/styles';
// Preferred: bring in the styles for one component
@use '@itxura/react/scss/components/button';
For a full list of components available, checkout our Storybook.
📖 API Documentation
If you're looking for @itxura/react
API documentation, check out:
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago