1.1.1 • Published 6 years ago

@mandala-ui/progress-bar v1.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Mandala UI ProgressBar Component

Mandala is a React component library that utilizes a declarative CSS library for styling.

Installation

Check the MonoRepo README for installation.

Description

ProgressBar is a 100% width element that takes a percent prop and renders that much of it in another color.

Usage

if using the whole library:

import { ProgressBar } from 'mandala';

if only using this component:

import ProgressBar from '@mandala-ui/progress-bar';

Props

  • backgroundColor - the color of the border around the dot
  • color - the width of the border around the dot
  • large - the color of the dot
  • percent - the width of the inner section between the dot and border
  • pill - the color of the inner section of the outlined dot
propNamepropTypedefaultValueisRequired
backgroundColorstringnull-
colorstringfalse-
largeboolean'white'-
percentnumberfalse-
pillbooleanfalse-

TODO:

  • prop to add/remove depth (shadow)
  • borderColor adds a border of relevant color
  • border width

mandala-bottom

1.1.1

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago