# next-elfsight-widget

> The right way to add Elfsight Widget to your NextJS App

Latest version **1.1.1** (published 2023-05-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install next-elfsight-widget
pnpm add next-elfsight-widget
yarn add next-elfsight-widget
bun add next-elfsight-widget
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2023-05-17 |
| First published | 2022-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 188 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Isaev Maxim |
| Maintainers | welcomemax |

## Links

- npm: https://www.npmjs.com/package/next-elfsight-widget
- Repository: https://github.com/elfsight/next-elfsight-widget
- Issues: https://github.com/elfsight/next-elfsight-widget/issues
- npm.io page: https://npm.io/package/next-elfsight-widget

## Dependencies (1)

- [react-elfsight-widget](https://npm.io/package/react-elfsight-widget.md) ^1.1.1

## Recent versions

- 1.1.1 (latest) — 2023-05-17
- 1.0.0 — 2022-09-14
- 0.1.0 — 2022-09-14

## README

# next-elfsight-widget

[![npm](https://img.shields.io/npm/dm/next-elfsight-widget)](https://www.npmjs.com/package/next-elfsight-widget)

Wrapper over [react-elfsight-widget](https://www.npmjs.com/package/react-elfsight-widget) that adds [Elfsight](https://elfsight.com/) Widget to a NextJS App t dynamic.

This package _DOES NOT_ contain any Elfsight Widgets itself.

## Installation

```bash
npm install next-elfsight-widget
```

## Usage

```tsx
import React from 'react';
import { ElfsightWidget } from 'next-elfsight-widget';

function Component() {
  return <ElfsightWidget widgetID="6f4fc62b-74c9-45da-87fa-b71eda360cc0" />;
}
```

_NOTE: There is no need to manually add Elfsight's `platform.js` script to a page, the component will do it for you.
But if you already have it on the page, it's okay, the script won't be added twice._

---
_Source: https://npm.io/package/next-elfsight-widget · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
