Elements is a set of carefully crafted, high quality React UI components, that Allthings uses to build their mobile app.
Elements are available on npm package.
yarn add @allthings/element
Please note that @allthings/element
are still under heavily development. Things may change a lot unitl we hit 1.0.0.
Here is a quick example to get you started, it's all you need:
import React from 'react';
import { render } from 'react-dom';
import Button from '@allthings/elements/molecules/Button';
function App() {
return (
<Button>
Hello World
</Button>
);
}
render(<App />, document.querySelector('#app'));
Are you looking for an full example project to get started? Check out this.
Check out our documentation website.