suitup-ui

0.6.1 • Public • Published

npm version dependencies Status devDependencies Status peerDependencies Status npm ownloads license

Suitup UI Toolkit

Suitup UI Toolkit is a set of React components to build web apps faster. Themeable, minimalist and easy to use. It will fit to your needs like a custom made suit, so SuitUp! and get started.

Status of the project

Before you start, take in consideration that Suitup is in development. The first stable version will be 1.0.0, and the release policy is "when it's ready", so don't expect the api to be stable, even in the patch relases before 1.0.0. This is a preview that includes an usable set of components, but not ready for production.

Did you find a bug? Do you want a new feature? Suggestions? Feel free to open issues and make a pull request 😀

Getting started

Add it to your project:

npm install suitup-ui --save

And then just import the components you need and the css. If you need to make a theme, you need to build your own Suit.

Example using style loader:

import "../node_modules/suitup-ui/dist/suitup.ui.min.css";
import { Layout, Container, Box, Button } from 'suitup-ui';

Also, you can import the less file directly to your project instead, it's in src/styles/index.less

Components

Suitup includes the following components:

  1. Layout
  2. Box
  • Box.Child
  1. Header
  2. Menu
  • Menu.Item
  • Menu.Icon
  1. Modal
  • Modal.Content
  • Modal.Footer
  • Modal.Actions
  1. Slider
  • Slider.Slide
  1. Image
  • Image.Vail
  1. Card
  • Card.Content
  • Card.Footer
  • Card.Action
  1. Footer
  2. Button
  3. Icon
  4. Device helpers for responsive design
  • Device.Mobile: Component that shows only on Mobile
  • Device.Tablet: Component that shows only on Tablet
  • Device.Desktop: Component that shows only on Desktop
  • Device.Widescreen: Component that shows only on Widescreen
  • Device.Screen: A store that notifies when the Screen type changes

And this is the list of components to be added in the future:

  1. Calendar
  2. Tile
  3. Tabs
  4. Form
  • Form.Field
  • Form.Group
  • Form.Input
  1. Form widgets
  • Input, Select, Check, Toggle
  1. Table
  2. Search

Running the demo

We include a demo that you can use to get started. Just clone the repo, install the dependencies and run it:

git clone https://github.com/erasmo-marin/suitup-ui.git
cd suitup-ui
npm install
npm install -g less
npm run start

building

npm run build

Theming

Theming feature is on development. Suitup will expose theme variables in /src/styles/theme folder. Basic theming will be just simple as modifying the color palette in /src/styles/theme/colors. More complex theming will be available modifying the specific per-module .less file in the /src/styles/theme folder.

CLI

A cli is in development. It will allow you to build themes, customize settings, generate your project from bolierplate, etc.

Docs

For the while, you can access to more documentation in the /docs folder. Docs are not linked here. A website is in development.

Package Sidebar

Install

npm i suitup-ui

Weekly Downloads

3

Version

0.6.1

License

MIT

Unpacked Size

802 kB

Total Files

132

Last publish

Collaborators

  • angrymadcat
  • fede