All Projects → dkress59 → react-loading-icons

dkress59 / react-loading-icons

Licence: other
A TypeScript-React edition of Sam Herbert's amazing SVG Loaders.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-loading-icons

react-native-spinner-button
React Native button component with multiple animated spinners
Stars: ✭ 105 (+228.13%)
Mutual labels:  loaders, loading-animations, loading-spinner
FlutterLoadingGIFs
Loading indicator GIFs. Material and Cupertino (Android and iOS) loading indicators in assorted sizes. Use as placeholders for loading remote image assets. Demo: https://gallery.codelessly.com/flutterwebsites/loadinggifs/
Stars: ✭ 28 (-12.5%)
Mutual labels:  loading-animations, loading-spinner, loading-spinners
Text Spinners
Pure text, CSS only, font independent, inline loading indicators
Stars: ✭ 2,728 (+8425%)
Mutual labels:  loaders, loading-animations
Nvactivityindicatorview
A collection of awesome loading animations
Stars: ✭ 10,031 (+31246.88%)
Mutual labels:  loaders, loading-animations
stan
🔨 Collection of front-end engineering tools
Stars: ✭ 19 (-40.62%)
Mutual labels:  react-library, typescript-library
SwiftUI-DesignCode
 SwiftUI-DesignCode is some examples in the process of learning swiftUI 2.0
Stars: ✭ 185 (+478.13%)
Mutual labels:  loading-animations, loading-animation
react-awesome-loaders
🚀 High quality, super responsive and completely customisable Loading Animations to insert into your website with single line of code.
Stars: ✭ 146 (+356.25%)
Mutual labels:  loaders, react-loader
js-to-do
A Simple To Do Web App using just JavaScript.
Stars: ✭ 22 (-31.25%)
Mutual labels:  svg-animations, svg-icons
Vue Spinkit
🌀 A collection of loading indicators animated with CSS for VueJS
Stars: ✭ 105 (+228.13%)
Mutual labels:  loading-animations, loading-spinner
loading
Laravel package to add loading indicator to pages while page is loading.
Stars: ✭ 38 (+18.75%)
Mutual labels:  loading-animations, loading-spinner
respinner
Pretty and customizable svg spinners for React.js
Stars: ✭ 89 (+178.13%)
Mutual labels:  loading-animations, loading-spinner
bookmarks
Bookmarks that I ❤️
Stars: ✭ 151 (+371.88%)
Mutual labels:  svg-animations, svg-icons
Tabanimated
A skeleton screen framework based on native for iOS. (一个由iOS原生组件映射出骨架屏的框架,包含快速植入,低耦合,兼容复杂视图等特点,提供国内主流骨架屏动画的加载方案,同时支持上拉加载更多、自定制动画。)
Stars: ✭ 2,909 (+8990.63%)
Mutual labels:  loading-animations, loading-animation
Better React Spinkit
A collection of loading indicators for React
Stars: ✭ 174 (+443.75%)
Mutual labels:  loading-animations, loading-spinner
Skeletonview
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
Stars: ✭ 10,804 (+33662.5%)
Mutual labels:  loading-animations, loading-animation
Flutter spinkit
✨ A collection of loading indicators animated with flutter. Heavily Inspired by http://tobiasahlin.com/spinkit.
Stars: ✭ 2,411 (+7434.38%)
Mutual labels:  loaders, loading-animations
Thinkingfaces
Collection of animated spinners and bouncers for iOS 🌠
Stars: ✭ 68 (+112.5%)
Mutual labels:  loading-animations, loading-spinner
Loading indicator view
A collection of awesome flutter loading animation
Stars: ✭ 83 (+159.38%)
Mutual labels:  loading-animations, loading-spinner
React Flow
Highly customizable library for building interactive node-based UIs, editors, flow charts and diagrams
Stars: ✭ 8,348 (+25987.5%)
Mutual labels:  react-library, typescript-library
SSSwiftUISpinnerButton
SSSwiftUISpinnerButton is a collection of various spinning animations for buttons in SwiftUI.
Stars: ✭ 37 (+15.63%)
Mutual labels:  loading-animations, loading-spinner

React Loading Icons

npm version Unit Test CI codecov Integration Test CI

A pure SVG zero-dependency React adaptation of Sam Herbert's SVG Loaders library.

Built with React 17 and TypeScript. Check out the Demo!

Also works with JavaScript, of course (supports ESM tree shaking).

Usage

Install from NPM

yarn add react-loading-icons
npm install react-loading-icons

Import all the loaders in a namespaced fashion

You can import all the loaders at once:

import LoadingIcons from 'react-loading-icons'

and use them in a namespaced manner:

<LoadingIcons.Bars />

Import an individual loader

You can also import a single loader:

import { Bars } from 'react-loading-icons'

and use it without any fancy namespacing:

<Bars />

You can even go as far as copying over a single .js file from the dist/components directory to your project — this way you can directly import a certain loading icon without having to import the whole package.

Components

<Audio />
<BallTriangle />
<Bars />
<Circles />
<Grid />
<Hearts />
<Oval />
<Puff />
<Rings />
<SpinningCircles />
<TailSpin />
<ThreeDots />

Options

Each of these components will accept any SVG tag presentation attributes as well as all valid JSX properties (key, onClick, …) as props. Animation speed can be controlled via speed attribute (1 = 100% speed, .5 = 50% speed, 2 = 200%, and so on). The components are also smart about inheriting fill, fillOpacity, stroke, strokeOpactiy and strokeWidth, so these can also easily be controlled.

Common Usage

// renders the Puff icon with a mint green stroke
<Puff stroke="#98ff98" />

// renders the Puff icon's mint green stroke with an opacity of 12.5%
<Puff stroke="#98ff98" strokeOpacity={.125} />

// renders the Puff icon at 75% speed with a mint green stroke with an opacity of 12.5%
<Puff stroke="#98ff98" strokeOpacity={.125} speed={.75} />
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].