1.1.0 • Published 4 years ago
@miniml/alpha-components-core v1.1.0
React components for faster and easier web development. Quickly bootstrap your application with free components that are nice to look at, easy to use, and guaranteed to make users and developers happy. Read the docs.
Getting started
📦 Installation
Install the alpha components via npm. We take care of injecting the needed styles.
$ npm install --save @miniml/alpha-components-react
$ yarn add @miniml/alpha-components-react
📝 Font
Use whatever font makes you happy. We think Jost looks very nice with these components.
@import url('https://indestructibletype.com/fonts/Jost.css');
body {
font-family: 'Jost', sans-serif;
}
👩💻 Usage
Alpha components work without any additional setup, and don't pollute the global scope. See more.
import { Root } from '@miniml/alpha-components-react/root';
import { Button } from '@miniml/alpha-components-react/button';
function App() {
return (
<Root>
<Button type="primary">I think we click</Button>
</Root>
);
}
Demo
Want to play around with the components without setting up a local app? Take a look at a CodeSandbox thats ready to go with some Alpha Components.