All Projects → midudev → wc

midudev / wc

Licence: Apache-2.0 license
A simple spinning loading web component based on the one from macOS

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to wc

scheduler-component
A Web Component wrapper for FullCalendar library that uses Polymer version 2.0 and ES6.
Stars: ✭ 24 (-48.94%)
Mutual labels:  webcomponents
chartjs-web-components
the web components for chartjs
Stars: ✭ 50 (+6.38%)
Mutual labels:  webcomponents
rockiot-ui
Webcomponent for IoT Dashboards, HTML Gauges and more
Stars: ✭ 42 (-10.64%)
Mutual labels:  webcomponents
loading-indicator
🚦 Simple and customizable command line loading indicator
Stars: ✭ 18 (-61.7%)
Mutual labels:  spinner
hackernews-example
An NX Hacker News clone with real-time updates and animations.
Stars: ✭ 56 (+19.15%)
Mutual labels:  webcomponents
biotope-element
A web component
Stars: ✭ 15 (-68.09%)
Mutual labels:  webcomponents
every-color-picker
Color picker components. Framework independent.
Stars: ✭ 53 (+12.77%)
Mutual labels:  webcomponents
TemplateEngine
Design and build web applications with components using only your web browser
Stars: ✭ 41 (-12.77%)
Mutual labels:  webcomponents
danmaku-player
An HTML5 danmaku video player for real-time image processing using WebGl and Web Components.融合了webgl和web components的实时图像处理弹幕播放器
Stars: ✭ 40 (-14.89%)
Mutual labels:  webcomponents
InstagramActivityIndicator
Activity Indicator similar to Instagram's
Stars: ✭ 49 (+4.26%)
Mutual labels:  spinner
bce.design
minimal magic, minimal tooling, essential dependencies, high productivity, no transpilations and no migrations. The Web Components starter ships with integrated lit-html, redux-toolkit and vaadin router components.
Stars: ✭ 67 (+42.55%)
Mutual labels:  webcomponents
lego
🚀 Web-components made lightweight & Future-Proof.
Stars: ✭ 69 (+46.81%)
Mutual labels:  webcomponents
spinnies
Node.js module to create and manage multiple spinners in command-line interface programs
Stars: ✭ 111 (+136.17%)
Mutual labels:  spinner
file-fire
Simple way to upload and download files from Firebase Storage.
Stars: ✭ 13 (-72.34%)
Mutual labels:  webcomponents
react-native-spinner-button
React Native button component with multiple animated spinners
Stars: ✭ 105 (+123.4%)
Mutual labels:  spinner
polymer-ui-router
UI-router wrapper for Web Components
Stars: ✭ 24 (-48.94%)
Mutual labels:  webcomponents
material-design-spinner
Material design spinner for apps powered by Starling and Feathers
Stars: ✭ 23 (-51.06%)
Mutual labels:  spinner
spin
A very simple spinner for cli Go apps
Stars: ✭ 70 (+48.94%)
Mutual labels:  spinner
skeleton-carousel
Carousel component. Horizontal and vertical swipe navigation
Stars: ✭ 31 (-34.04%)
Mutual labels:  webcomponents
lit-components
Moved to https://github.com/vaadin/component-mixins
Stars: ✭ 59 (+25.53%)
Mutual labels:  webcomponents

spinning-progress-indicator-element

A simple spinning loading web component based on macOS one.

  • 📦 Microbundle for exporting .mjs and optimize the output
  • 🔎 Uses Typescript for type checking
  • 👻 Shadow DOM to not mess with your elements and styles
  • ⚖️ less than ~900 bytes gzipped with stylese included 💅
  • 🍦 Three flavours black, grey and black
  • 💁‍Two sizes available

👀 Demo: https://codesandbox.io/s/8njv8m1v88

Installation

If you're using Webpack or Parcel, you could use directly the package: npm install @midudev/wc-spinning-progress

Also, you could directly use the script using a CDN like unpkg: <script src="https://unpkg.com/@midudev/[email protected]/dist/spinning-progress.umd.js"></script>

Module version is provided as well: <script type='module' src="https://unpkg.com/@midudev/[email protected]/dist/spinning-progress.mjs"></script>

Usage

<spinning-progress></spinning-progress>
<spinning-progress size='large'></spinning-progress>

<spinning-progress color='black'></spinning-progress>
<spinning-progress color='black' size='large'></spinning-progress>

<spinning-progress color='white'></spinning-progress>
<spinning-progress color='white' size='large'></spinning-progress>

What's next

  • Use custom properties instead attributes
  • Upgrade to latest microbundle and get everything working
  • Move this to a monorepo with more @midudev/wc?

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D
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].