https://github.com/jkomyno/react-native-horizontal-progress-bar
Simple React Native animated horizontal progress bar.
https://github.com/jkomyno/react-native-horizontal-progress-bar
animated animation progress react-native ui
Last synced: 6 months ago
JSON representation
Simple React Native animated horizontal progress bar.
- Host: GitHub
- URL: https://github.com/jkomyno/react-native-horizontal-progress-bar
- Owner: jkomyno
- License: mit
- Created: 2017-08-24T15:32:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-12-09T19:03:09.000Z (over 6 years ago)
- Last Synced: 2025-10-06T19:58:03.992Z (9 months ago)
- Topics: animated, animation, progress, react-native, ui
- Language: JavaScript
- Size: 91.8 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-horizontal-progress-bar
Simple animated horizontal component for React Native.
--------------------------------
[](https://travis-ci.org/jkomyno/react-native-horizontal-progress-bar) [](https://npmjs.com/package/react-native-horizontal-progress-bar) [](https://npmjs.com/package/react-native-horizontal-progress-bar) [](http://github.com/jkomyno/react-native-horizontal-progress-bar/issues)
# Installation
- `yarn add react-native-horizontal-progress-bar`
Or, if you prefer using npm:
- `npm i -S react-native-horizontal-progress-bar`
## Available Props
Check the [TypeScript type definition file](src/index.d.ts) for further info.
Prop | Type | Default | Description
-------- | ------ | --------- | -----------------------------------------
progress | number | | Current progress of the component
animated | bool | true | If set to false, the animation will be disabled
color | string | '#7D85BE' | Background color of the progress bar
duration | number | 500 | Duration of the transition between the current progress and the next one.
style | | | Style of the ProgressBar container View. Check below for the default style definition
```javascript
const defaultStyle = {
width: '100%',
height: 10,
backgroundColor: 'transparent',
};
```
## Example (TODO)
## Contributing
PRs are obviously welcome! :octocat:
## Available scripts
- **lint**: verify that the eslint configuration is respected
## License
[MIT](LICENSE)