# @ray-js/components-ty-progress-bar

> 涂鸦风格进度条

Latest version **0.1.1** (published 2024-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ray-js/components-ty-progress-bar
pnpm add @ray-js/components-ty-progress-bar
yarn add @ray-js/components-ty-progress-bar
bun add @ray-js/components-ty-progress-bar
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2024-04-28 |
| First published | 2022-07-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tuyafe |

## Links

- npm: https://www.npmjs.com/package/@ray-js/components-ty-progress-bar
- npm.io page: https://npm.io/package/@ray-js/components-ty-progress-bar

## Recent versions

- 0.1.1 (latest) — 2024-04-28
- 0.1.0-beta-1 (beta) — 2023-02-06
- 0.1.0 — 2023-02-06
- 0.0.8 — 2022-11-16
- 0.0.7 — 2022-07-11
- 0.0.6 — 2022-07-04

## README

English | [简体中文](./README-zh_CN.md)

# @ray-js/components-ty-progress-bar

[![latest](https://img.shields.io/npm/v/@ray-js/components-ty-progress-bar/latest.svg)](https://www.npmjs.com/package/@ray-js/components-ty-progress-bar) [![download](https://img.shields.io/npm/dt/@ray-js/components-ty-progress-bar.svg)](https://www.npmjs.com/package/@ray-js/components-ty-progress-bar)

> 涂鸦风格进度条

## Installation

```sh
$ npm install @ray-js/components-ty-progress-bar
# or
$ yarn add @ray-js/components-ty-progress-bar
```

## Usage

```tsx
import ProgressBar from '@ray-js/components-ty-progress-bar';
export default () => <ProgressBar />;
```

### Base Usage

```jsx
<ProgressBar percent={20} />
```

### Specify Line Height

```jsx
<ProgressBar percent={40} height="8px" />
```

### Specify Line Width

```jsx
<ProgressBar percent={70} width="40%" />
```

### Specify Color

```jsx
<ProgressBar
  style={{ marginBottom: '18rpx' }}
  percent={70}
  fillColor="linear-gradient(to right, #FA709A 0%, #FEDD44 100%)"
/>
```

---
_Source: https://npm.io/package/@ray-js/components-ty-progress-bar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
