basis

1.71.0 • Public • Published

CI

Basis Design System

Installation

npm install --save basis @emotion/core prop-types

Install the fonts that your theme needs. For example, if you are using the default theme:

npm install --save typeface-{montserrat,roboto}

Usage

import React from "react";
import { BasisProvider, defaultTheme, Text } from "basis";
import "typeface-montserrat";
import "typeface-roboto";

function App() {
  return (
    <BasisProvider theme={defaultTheme}>
      <Text>Hello World</Text>
    </BasisProvider>
  );
}

export default App;

Developing locally

npm install
npm start

Thanks

License

MIT

/basis/

    Package Sidebar

    Install

    npm i basis

    Weekly Downloads

    954

    Version

    1.71.0

    License

    MIT

    Unpacked Size

    1.64 MB

    Total Files

    303

    Last publish

    Collaborators

    • aexmachina
    • moroshko
    • praneybehl
    • zecuria
    • alifa20
    • strahinjaajvaz