{"id":21668912,"url":"https://github.com/ajaymarathe/react-bootstrap-spinner","last_synced_at":"2026-01-24T00:04:57.740Z","repository":{"id":46297060,"uuid":"216017889","full_name":"ajaymarathe/react-bootstrap-spinner","owner":"ajaymarathe","description":"🎉 React-Bootstrap-Spinner is a customizable and flexible spinner component for React applications. It allows you to create Bootstrap-style spinners using both predefined Bootstrap colors and custom color codes, with support for both border and grow animations.","archived":false,"fork":false,"pushed_at":"2024-10-06T09:24:29.000Z","size":2587,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T07:52:07.362Z","etag":null,"topics":["bootstrap-spinner","loaders","react-bootstrap-spinner","react-loader","spinners"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajaymarathe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-18T12:21:40.000Z","updated_at":"2024-10-06T09:24:32.000Z","dependencies_parsed_at":"2023-01-25T20:46:28.615Z","dependency_job_id":null,"html_url":"https://github.com/ajaymarathe/react-bootstrap-spinner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaymarathe%2Freact-bootstrap-spinner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaymarathe%2Freact-bootstrap-spinner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaymarathe%2Freact-bootstrap-spinner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaymarathe%2Freact-bootstrap-spinner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajaymarathe","download_url":"https://codeload.github.com/ajaymarathe/react-bootstrap-spinner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253025337,"owners_count":21842409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap-spinner","loaders","react-bootstrap-spinner","react-loader","spinners"],"created_at":"2024-11-25T12:18:03.975Z","updated_at":"2026-01-24T00:04:57.684Z","avatar_url":"https://github.com/ajaymarathe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Bootstrap Spinner\n🎉 React-Bootstrap-Spinner is a customizable and flexible spinner component for React applications. It allows you to create Bootstrap-style spinners using both predefined Bootstrap colors and custom color codes, with support for both border and grow animations.\n\n[![NPM](https://img.shields.io/npm/v/react-bootstrap-spinner.svg)](https://www.npmjs.com/package/react-bootstrap-spinner) [![NPM](https://img.shields.io/npm/dt/react-bootstrap-spinner.svg)](https://www.npmjs.com/package/react-bootstrap-spinner) \n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Showcase\nHere’s how the `react-bootstrap-spinner` component looks:\n\n![React Keyboard Light Mode](https://raw.githubusercontent.com/ajaymarathe/react-bootstrap-spinner/refs/heads/master/public/images/react-spinner.png)\n\n## ✨ Features\n\n* 🌀 **Border** and **Grow** animations\n* 🎨 Custom color support (hex codes, RGB, etc.)\n* 🖌️ Bootstrap color variants (primary, success, danger, etc.)\n* ⚡ Easy integration into React projects\n* 🔧 Adjustable spinner size\n\n\n## 🚀 Install\nTo install the package, run the following command:\n```js\nnpm install react-bootstrap-spinner\n```\n\n## 📖 Usage\nHere's an example of how to use the spinner component in your React project:\n```bash\nimport React from 'react';\nimport Spinner from 'react-bootstrap-spinner';\n\nconst App = () =\u003e (\n  \u003cdiv\u003e\n    \u003ch1\u003eLoading...\u003c/h1\u003e\n    \u003cSpinner animation=\"border\" color=\"primary\" size=\"4rem\" /\u003e\n    \u003cSpinner animation=\"grow\" color=\"#ff6347\" size=\"2rem\" /\u003e  {/* Custom color */}\n  \u003c/div\u003e\n);\n\nexport default App;\n```\n\n### Props\n\n| Prop        | Type     | Default   | Description                                                        |\n|-------------|----------|-----------|--------------------------------------------------------------------|\n| `animation` | string   | `\"border\"`| The type of spinner animation (`\"border\"` or `\"grow\"`).             |\n| `color`     | string   | `\"primary\"`| The color of the spinner. Can be a Bootstrap color or a custom hex code. |\n| `size`      | string   | `\"3rem\"`  | The size of the spinner, defined in CSS units (e.g., `\"2rem\"`, `\"50px\"`). |\n\n## 🤝 Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nThanks ❤️\n\n## License\n\nMIT © [License](https://github.com/ajaymarathe/react-bootstrap-spinner/blob/master/LICENSE)\n\n## Author\nMade with ❤️ by [Ajay Marathe](https://github.com/ajaymarathe)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajaymarathe%2Freact-bootstrap-spinner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajaymarathe%2Freact-bootstrap-spinner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajaymarathe%2Freact-bootstrap-spinner/lists"}