@igloo-ui/popover
TypeScript icon, indicating that this package has built-in type declarations

0.5.9 • Public • Published

Popover

Popovers are small overlays that open on demand. They let users access additional content and actions without cluttering the page.

Installation

To install @igloo-ui/popover in your project, you will need to run the following command using npm:

npm install @igloo-ui/popover

If you prefer Yarn, use the following command instead:

yarn add @igloo-ui/popover

Usage

Then to use the component in your code just import it!

import Popover from '@igloo-ui/popover';
import Hyperlink from '@igloo-ui/hyperlink';

<Popover
  title="Date"
  content="Popover copy"
  action={
    <Hyperlink>
      <a href="#">Tell me more</a>
    </Hyperlink>
  }
>
  Trigger content
</Popover>;

Readme

Keywords

none

Package Sidebar

Install

npm i @igloo-ui/popover

Weekly Downloads

577

Version

0.5.9

License

Apache-2.0

Unpacked Size

1.68 MB

Total Files

9

Last publish

Collaborators

  • infra.admin
  • franckgaudin