An open API service indexing awesome lists of open source software.

https://github.com/stefanjudis/sparkly-text

A small web component for making your text spark.
https://github.com/stefanjudis/sparkly-text

custom-elements html-components web-components

Last synced: 21 days ago
JSON representation

A small web component for making your text spark.

Awesome Lists containing this project

README

        

# `sparkly-text`

A small zero-dependency Web Component to add sparkles to text fragments.

## Examples

```html

Hello world

Hello world

Hello world

Hello world

Hello world
```

## Installation

You have a few options (choose one of these):

- Install via [npm](https://www.npmjs.com/package/@stefanjudis/sparkly-text): npm install @stefanjudis/sparkly-text
- [Download the source](https://github.com/stefanjudis/sparkly-text/blob/main/sparkly-text.js) manually from GitHub into your project.
- Skip this step and use the script directly via a 3rd party CDN (not recommended for production use)

### Usage

```html

```

```html

```

```html

```

## Kudos

Big thanks goes to [Zach Leatherman](https://www.zachleat.com/) for all [his fancy components such as `table-saw`](https://github.com/zachleat/table-saw).