Skip to content

Repository files navigation

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:

importReactfrom'react';importReactDOMfrom'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:

consttheme={primaryColor: '#006b94',};<VolstThemetheme={theme}/>

See all settings.

Contributing

Please read the contributing guide.

Inspiration

About

💎 A React UI component library for Volst.

Resources

Contributing

Stars

10 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages