react-nice-bubble ·
The powerful bubble component for React which support transparent background and border.
key features
- support background color with alpha.
- support border color with alpha.
- support custom border width.
- support custom border radius.
- support custom border color.
- support custom background color.
- support custom bubble width.
- support custom bubble height.
- support 12 arrow position.
- support custom arrow shape.
- support box-sizing.
Installation
Using npm:
$ npm install --save react-nice-bubble
Demo
Example
import React from 'react';import Bubble BoxSizing Position from 'react-nice-bubble'; const App = <Bubble = = = = = = = = ="black" = = ="white" > Hello world! </Bubble>; const root = document;ReactDOM;
Props
WIP