@pulsar-ui/core
v0.6.0
Published
<p align="center"> <img width="200" src="https://raw.githubusercontent.com/adriankremer/pulsar-ui/master/assets/logoWithText.png" /> </p>
Downloads
15
Readme
Style-independent components with React Hooks. The Core package serves all the components and a context-provider. The provider consumes a design-system (e.g. @pulsar-ui/system) that uses component hooks to invoke component properties and options.
Installation
npm i @pulsar-ui/core @pulsar-ui/system
Usage
import React from "react";
import { Provider, Avatar } from "@pulsar-ui/core";
import * as system from "@pulsar-ui/system";
export const App = () => (
<Provider system={system}>
<Avatar src="https://placekitten.com/100/100" />
</Provider>
)
Credits 💖
Structures and many other ideas like component hooks and system patterns are copied from @diegohaz's reakit v2
License
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!