https://github.com/paraboly/pwc-tooltip
Fully customizable tooltip web component with StencilJS via Paraboly
https://github.com/paraboly/pwc-tooltip
html pwc-tooltip tooltip web-component
Last synced: about 1 year ago
JSON representation
Fully customizable tooltip web component with StencilJS via Paraboly
- Host: GitHub
- URL: https://github.com/paraboly/pwc-tooltip
- Owner: Paraboly
- License: mit
- Created: 2019-10-14T12:58:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-25T13:04:44.000Z (over 6 years ago)
- Last Synced: 2025-03-21T21:11:55.332Z (about 1 year ago)
- Topics: html, pwc-tooltip, tooltip, web-component
- Language: CSS
- Homepage: https://paraboly.com
- Size: 231 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](https://github.com/Paraboly/pwc-tooltip)
[](https://www.npmjs.com/package/@paraboly/pwc-tooltip)
[](https://www.npmjs.com/package/@paraboly/pwc-tooltip)

[](https://opensource.org/licenses/MIT)
## Basic Tooltip Screenshots
## Custom Image Screenshot
## Custom Slot (Children) Screenshot (Your own design)
## [Live Codepen Example](https://codepen.io/wrathchaos/pen/jOOBKqr)
## Installation
### Script tag
- Put a script tag similar to this `` in the head of your index.html
- Then you can use the element anywhere in your template, JSX, html etc
### Node Modules
- Run `npm install @paraboly/pwc-tooltip --save`
- Put a script tag similar to this `` in the head of your index.html
- Then you can use the element anywhere in your template, JSX, html etc
### In a stencil-starter app
- Run `npm install @paraboly/pwc-tooltip --save`
- Add an import to the npm packages `import @paraboly/pwc-tooltip;`
- Then you can use the element anywhere in your template, JSX, html etc
# Usage
## Basic Tooltip Usage
```html
```
## Custom Image Tooltip Usage
```html
```
## Custom Children Design (Slot) Usage
```html
Awesome Title
-
It is a long established fact that a reader will be distracted by
the readable
-
Lorem Ipsum is simply dummy text of the printing and typesetting
industry.
-
Contrary to popular belief, Lorem Ipsum is not simply random text.
```
## Authors
FreakyCoder, kuray.ogun@paraboly.com | kurayogun@gmail.com
## License
WebComponent PWC PWC Tooltip is available under the MIT license. See the LICENSE file for more info.