mo-tarot-widget

1.0.1 • Public • Published

Tarot widget for Website

Super tiny (only 4kb minified) javascript library to add awesome Tarot widget to your website.

Tarot widget for website

(This is a screenshot as an example)

Features

  • Random selection of one of 22 Major Arcana (Raider Waite Tarot Deck).
  • A unique card for each viewer for 24 hours.
  • Short advice of the card and the opportunity to read a detailed interpretation at will.
  • The transparent background provides a nice appearance of the widget on the website with any design.
  • A super small size that will not affect the speed of your site.

How To Install (Easy way)

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

<div id="mo-tarot-widget"></div>
<script async src="https://tarot-widget.moonorganizer.com/automount.min.js">
</script>

Thats all.

Usage via npm

npm

Install package:

npm install mo-tarot-widget

Import code and styles (if you want):

import TarotWidget from 'mo-tarot-widget'

import 'mo-tarot-widget/src/index.css'

new TarotWidget('some-element-id')

Contacts

More information about Tarot Card Major Arcana meaning you can find here

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

Dependencies (1)

Dev Dependencies (19)

Package Sidebar

Install

npm i mo-tarot-widget

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

27.7 MB

Total Files

33

Last publish

Collaborators

  • alex.brik