https://github.com/blended-ideas/WordSpectrum
https://github.com/blended-ideas/WordSpectrum
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blended-ideas/WordSpectrum
- Owner: blended-ideas
- License: mit
- Created: 2020-02-23T16:42:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T14:55:17.000Z (over 5 years ago)
- Last Synced: 2025-03-17T20:43:23.809Z (7 months ago)
- Language: TypeScript
- Size: 113 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-stenciljs - word-spectrum
README
 [](https://www.webcomponents.org/element/@blendedideas/word-spectrum)
# Word Spectrum
A Web Component library to generate beautiful and colorful text placeholders 🎨
Built with stenciljs, Really tiny in its size [(**198 Bytes** Minified + Gzipped)](https://bundlephobia.com/result?p=@blendedideas/word-spectrum@0.0.5)
Can be used in Angular, React, Vue, Vanilla JS and plain HTML project as well.
## Installation
Node Modules (npm or yarn): Add the blendedideas/word-spectrum as dependency to node_modules via npm or yarn:
# add dependency with npm:
npm install @blendedideas/word-spectrum --save
# or with yarn:
$ yarn add @blendedideas/word-spectrum --save
then add the below line to your ```` of your index.html
````
or you can put the following tag in the ```` of your index.html and you can use the element anywhere in your application:
````
---
## Usage Example:
---
## Demo
CodePen [demo](https://codepen.io/karthikrp/full/XWbpRee) and [Code](https://codepen.io/karthikrp/pen/XWbpRee)
---
PS: Inspired from [react-spectrum](https://github.com/ganapativs/react-spectrum)