All Projects → g00dv1n → Moon Phase Widget

g00dv1n / Moon Phase Widget

Licence: mit
Moon phase widget for website in javascript

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Moon Phase Widget

Emojix
Implementation of iOS style emoji on android.
Stars: ✭ 585 (+2978.95%)
Mutual labels:  widget
Energybar
Supercharge your Mac's Touch Bar.
Stars: ✭ 720 (+3689.47%)
Mutual labels:  widget
Bayesflare
A python module to detect stellar flares using Bayesian model comparison
Stars: ✭ 6 (-68.42%)
Mutual labels:  astronomy
Meteor Astronomy
Model layer for Meteor
Stars: ✭ 608 (+3100%)
Mutual labels:  astronomy
Asteroids atlas of space
Code, data, and instructions for mapping orbits of asteroids in the solar system
Stars: ✭ 668 (+3415.79%)
Mutual labels:  astronomy
Iro.js
🎨 Modular color picker widget for JavaScript, with support for a bunch of color formats
Stars: ✭ 796 (+4089.47%)
Mutual labels:  widget
Pinterestsegment
A Pinterest-like segment control with masking animation.
Stars: ✭ 560 (+2847.37%)
Mutual labels:  widget
Table calendar
Highly customizable, feature-packed Flutter Calendar with gestures, animations and multiple formats
Stars: ✭ 897 (+4621.05%)
Mutual labels:  widget
Vue Page Designer
Vue component for drag-and-drop to design and build mobile website.
Stars: ✭ 702 (+3594.74%)
Mutual labels:  widget
Alfa
Automated Line Fitting Algorithm
Stars: ✭ 6 (-68.42%)
Mutual labels:  astronomy
Stepper Touch
Stepper Touch for Android based on MaterialUp submission
Stars: ✭ 621 (+3168.42%)
Mutual labels:  widget
Dotfiles
i3 + Plasma: using the i3 window manager on the top of KDE Plasma and other dotfiles, configurations, scripts, workarounds and practises from my Debian Sid machines.
Stars: ✭ 651 (+3326.32%)
Mutual labels:  widget
Circular Music Progressbar
Beautiful Circular Progress Bar with album art for android
Stars: ✭ 813 (+4178.95%)
Mutual labels:  widget
Masked Edittext
Android library contain custom realisation of EditText component for masking and formatting input text
Stars: ✭ 592 (+3015.79%)
Mutual labels:  widget
Xdf Gan
A GAN for the generation of mock astronomical surveys
Stars: ✭ 17 (-10.53%)
Mutual labels:  astronomy
Sunpy
SunPy - Python for Solar Physics
Stars: ✭ 577 (+2936.84%)
Mutual labels:  astronomy
Celestia
Real-time 3D visualization of space.
Stars: ✭ 785 (+4031.58%)
Mutual labels:  astronomy
Yii2 Fotorama Widget
Fotorama image gallery widget for yii2
Stars: ✭ 18 (-5.26%)
Mutual labels:  widget
Flutter widgets
带你认识flutter widgets的使用。根据flutter中文网的“widget目录”进行编写
Stars: ✭ 17 (-10.53%)
Mutual labels:  widget
Yii2 Fullcalendar
Widget for Yii Framework 2.0 to use FullCalendar
Stars: ✭ 5 (-73.68%)
Mutual labels:  widget

Moon phase widget for Website

Super tiny (only 3kb minified) javascript library to add awesome moon phase widget to your website.

Moon phase widget for website

(This is a screenshot as an example)

Features

  • Auto Geo detection
  • Moon phase name and image
  • Moon set and moon rise time
  • Moon zodiac sign
  • Super small size (This will not affect the speed of your site)
  • Ability to change the background color
  • 3 different styles (normal, small, horizontal)

How To Install (Easy way)

The easiest way to install the widget is by using CDN

Just copy the code below and paste it where you want to see the widget.

<div id="moon-phase-widget" data-color="white"></div>
<script async src="https://cdn.jsdelivr.net/npm/[email protected]/build/automount.min.js">
</script>

Thats all.

If you want you can change the background color by adding your value to data-color attribute.

Text white or hex value #FFFFFF

Also, you can choose from different styles of the widget (By adding specific value to data-style).

Normal (default style)

Small:

<div id="moon-phase-widget" data-color="white" data-style="small"></div>
<script async src="https://cdn.jsdelivr.net/npm/[email protected]/build/automount.min.js">
</script>

Horizontal orientation:

<div id="moon-phase-widget" data-color="white" data-style="horizontal"></div>
<script async src="https://cdn.jsdelivr.net/npm/[email protected]/build/automount.min.js">
</script>

Usage via npm

npm

Install package:

npm install moon-phase-widget

Import code and styles (if you want):

import { MoonPhaseWidget } from 'moon-phase-widget'

import 'moon-phase-widget/src/index.css'

new MoonPhaseWidget('some-element-id')

Contacts

More information about moon phase you can find here

Fill free to contact me if you need help with customization or installation.

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].