@plasma-ui/core

Plasma-ui

Usage no npm install needed!

<script type="module">
  import plasmaUiCore from 'https://cdn.skypack.dev/@plasma-ui/core';
</script>

README

 

Plasma is the fourth state of matter.

 

Plasma ui is a component library for building reliable, beautiful and fully accessible React apps.

yarn add @plasma-ui/core @emotion/core @emotion/styled emotion-theming

How to use

Plasma UI has a peer dependency on emotion. Wrap your top level component with ThemeProvider from emotion-theming and pass down the theme from Plasma-ui so you can use our theme.

import { ThemeProvider } from "emotion-theming";
import { theme } from "@plasma-ui/core";

export default () => (
  <ThemeProvider theme={theme}>
    <App>. . .</App>
  </ThemeProvider>
);

Documentation

See the official website for full documentation, recipes, and more.