# react-semantic-popup

> Semantic based React standalone Popup

Latest version **1.0.5** (published 2019-09-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-semantic-popup
pnpm add react-semantic-popup
yarn add react-semantic-popup
bun add react-semantic-popup
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-09-23 |
| First published | 2019-09-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 36.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mikhail Kabanov |
| Maintainers | mikekabanov |

## Links

- npm: https://www.npmjs.com/package/react-semantic-popup
- Repository: https://github.com/icevl/react-semantic-popup
- Homepage: https://github.com/icevl/react-semantic-popup#readme
- Issues: https://github.com/icevl/react-semantic-popup/issues
- npm.io page: https://npm.io/package/react-semantic-popup

## Recent versions

- 1.0.5 (latest) — 2019-09-23
- 1.0.4 — 2019-09-23
- 1.0.3 — 2019-09-22
- 1.0.2 — 2019-09-21
- 1.0.1 — 2019-09-21
- 1.0.0 — 2019-09-21

## README

## React standalone Popup plugin based on Semantic UI

React component based on Semantic UI inline styles with auto and manual align popup position.

**Install**

    npm i react-semantic-popup

or

    yarn add react-semantic-popup


**Use**

    import Popup from 'react-semantic-popup';

    <Popup content='Text for popup'>
        <div>
    	    Some trigger element
        </div>
    </Popup>

**Options**

| prop  | value                                                                                                                                                               |
| ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| content | *[string or JSX]*. Popup hint content. |
| align | *[string]*. Custom hint position: "_top left_", "_top center_", "_top right_", "_right center_", "_left center_", "_bottom left_", "_bottom center_", "_bottom right_" |
| inverted | *[boolean]* *default: false*. Inverted theme. |
| click | *[boolean]* *default: false*. Trigger popup by clicking on children element.                                                                                                      |

**Example**

    <Popup content='Clicked' align='top right' inverted click>
        Click me
    </Popup>

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