@volst/ui-components
TypeScript icon, indicating that this package has built-in type declarations

0.20.0 • Public • Published

Volst UI Components

A React component library for Volst.

Demo / overview of all components

Install

yarn add @volst/ui-components
npm i @volst/ui-components --save

Usage

The components are documented in the demo, in the top-right you can press "Show Info" to see all the possible props for that component.

An example:

import React from 'react';
import ReactDOM from 'react-dom';
import { VolstTheme, Button } from '@volst/ui-components';

ReactDOM.render(
    <VolstTheme>
        <Button>Foobar</Button>
    </VolstTheme>,
    document.getElementById('root')
);

<VolstTheme /> accepts a theme prop, which can be used to change some project-wide settings. An example:

const theme = {
    primaryColor: '#006b94',
};

<VolstTheme theme={theme} />

See all settings.

Contributing

Please read the contributing guide.

Inspiration

/@volst/ui-components/

    Package Sidebar

    Install

    npm i @volst/ui-components

    Weekly Downloads

    45

    Version

    0.20.0

    License

    ISC

    Unpacked Size

    3.01 MB

    Total Files

    3074

    Last publish

    Collaborators

    • konstantinmvelkov
    • amees_me
    • rutgerschimmel