-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb054b4
commit 5475fa6
Showing
3 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# use-exit-intent | ||
|
||
## 1.0.1 | ||
|
||
### Patch Changes | ||
|
||
- 9427f34: add readme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<p align="center"> | ||
<a href="#use-exit-intent"> | ||
<img alt="preview" src="../../apps/web/public/banner.svg" width="100%"> | ||
</a> | ||
</p> | ||
|
||
<h3 align="center"><strong>useExitIntent</strong>: 🐠 A React Hook to handle exit intent strategies</h3> | ||
|
||
<p align="center"> | ||
<!-- GitHub --> | ||
<a href="https://github.com/sponsors/daltonmenezes"> | ||
<img alt="github url" src="https://img.shields.io/badge/support%20on-github-1C1E26?style=for-the-badge&labelColor=1C1E26&color=646cff"/> | ||
</a> | ||
<!-- Patreon --> | ||
<a href="https://www.patreon.com/daltonmenezes"> | ||
<img alt="patreon url" src="https://img.shields.io/badge/support%20on-patreon-1C1E26?style=for-the-badge&labelColor=1C1E26&color=646cff"/> | ||
</a> | ||
<!-- Version --> | ||
<a href="https://github.com/daltonmenezes/use-exit-intent/releases"> | ||
<img alt="releases url" src="https://img.shields.io/npm/v/use-exit-intent.svg?style=for-the-badge&labelColor=1C1E26&color=646cff"/> | ||
</a> | ||
<!-- License --> | ||
<a href="https://github.com/daltonmenezes/use-exit-intent/blob/main/LICENSE"> | ||
<img alt="license url" src="https://img.shields.io/badge/license%20-MIT-1C1E26?style=for-the-badge&labelColor=1C1E26&color=646cff"/> | ||
</a> | ||
</p> | ||
|
||
> The Exit Intent strategy is a great way to increase your conversion rate. That strategy is commonly used to show a modal/popup when the user is about to leave your website. | ||
# 🐠 Features | ||
- 🚀 Multiple handlers can be registred | ||
- 🔥 Highly configurable | ||
- 🧠 Different strategies for Desktop and Mobile | ||
- ⛔️ Unsubscription support with cookies | ||
- 🎉 Built with TypeScript | ||
|
||
# 🐠 Installation | ||
In your terminal, run: | ||
```bash | ||
yarn add use-exit-intent | ||
|
||
# OR | ||
|
||
npm i use-exit-intent | ||
``` | ||
# 🐠 Knowledge | ||
- [Docs](https://daltonmenezes.github.io/use-exint-intent/docs/getting-started/overview) | ||
- [Playground](https://daltonmenezes.github.io/use-exint-intent/#playground) | ||
|
||
|
||
# 🐠 Contributing | ||
> **Note**: contributions are always welcome, but always **ask first**, — please — before work on a PR. | ||
That said, there's a bunch of ways you can contribute to this project, like by: | ||
|
||
- :beetle: Reporting a bug | ||
- :page_facing_up: Improving this documentation | ||
- :rotating_light: Sharing this project and recommending it to your friends | ||
- :dollar: Supporting this project on GitHub Sponsors or Patreon | ||
- :star2: Giving a star on this repository | ||
|
||
# License | ||
|
||
[MIT © Dalton Menezes](https://github.com/daltonmenezes/use-exit-intent/blob/main/LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters