1.0.14 • Published 1 year ago

instant-ui-react v1.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Instant - Lean React UI Library

Getting Started

Install instant-ui-react in your project by running npm install instant-ui-react if you use NPM or yarn add instant-ui-react if you use Yarn.

Wrap your app with the InstantThemeProvider component. This will provide styles to all the components you use within your app.

For example:

import React from 'react';
import { InstantThemeProvider } from 'instant-ui-react';
import ReactDOM from 'react-dom/client';
import App from './App';

const root = ReactDOM.createRoot(document.getElementById('root'));

root.render(
  <React.StrictMode>
    <InstantThemeProvider>
      <App />
    </InstantThemeProvider>
  </React.StrictMode>
);

Then add components to your app by importing them from the package as follows:

import React from 'react';
import { Button } from 'instant-ui-react';

export function MyComponent() {
	return (
		<Button text="Awesome Button" primary />
	);
}

The library is intended to be as quick and straightforward to use as possible. As a result, it's deliberately opinionated.

To view the available components, head to instant-ui-react.com.

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago