UNPKG

@syncfusion/ej2-react-popups

Version:

A package of Essential JS 2 popup components such as Dialog and Tooltip that is used to display information or messages in separate pop-ups. for React

88 lines (56 loc) 8.68 kB
# ej2-react-popups The popup components such as dialog and tooltip are used to display information in a popup to users. The dialog component provides modal/non-modal (modeless), built-in buttons, positioning, animation, draggable, and template features and helps to create alert, prompt, and confirmation dialogs easily. The tooltip component is used to display a popup that contains some information or message when you hover, click, focus, or touch an element. The information displayed in the tooltip can include simple text, images, hyperlinks, or custom templates. ![Popup](https://ej2.syncfusion.com/products/images/popup/readme.png) > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license, you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials/?utm_source=npm&utm_campaign=popup). > A [free community license](https://www.syncfusion.com/products/communitylicense/?utm_source=npm&utm_campaign=popup) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers. ## Setup To install popup components and its dependent packages, use the following command ```sh npm install @syncfusion/ej2-react-popups ``` ## Components Included Following list of components are available in the package ## Dialog * [Getting Started](https://ej2.syncfusion.com/react/documentation/dialog/getting-started/?utm_source=npm&utm_campaign=dialog) * [View Online Demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=dialog#/fluent2/dialog/default) * [Product Page](https://www.syncfusion.com/react-ui-components/modal-dialog/?utm_source=npm&utm_campaign=dialog) ## Tooltip * [Getting Started](https://ej2.syncfusion.com/react/documentation/tooltip/getting-started/?utm_source=npm&utm_campaign=tooltip) * [View Online Demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=tooltip#/fluent2/tooltip/default) * [Product Page](https://www.syncfusion.com/react-ui-components/tooltip/?utm_source=npm&utm_campaign=tooltip) ## Supported Frameworks These components are available in following list of: | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular-new.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | | :-----: | :-----: | :-----: | :-----: | :-----: | ## Use-case samples / Showcase samples * Expanse Tracker ([Source](https://github.com/syncfusion/ej2-showcase-ts-expensetracker/?utm_source=npm&utm_campaign=popup), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/expensetracker/?utm_source=npm&utm_campaign=popup/#/dashboard)) * Story Estimator ([Source](https://github.com/syncfusion/ej2-showcase-aspnetcore-story-estimator/?utm_source=npm&utm_campaign=popup), [Live Demo](https://aspdotnetcore.syncfusion.com/showcase/aspnetcore/story-estimator/?utm_source=npm&utm_campaign=popup/#/dashboard)) * Diagram Builder ([Source](https://github.com/syncfusion/ej2-showcase-ng-diagrambuilder/?utm_source=npm&utm_campaign=popup), [Live Demo](https://ej2.syncfusion.com/showcase/angular/diagrambuilder/?utm_source=npm&utm_campaign=popup)) * IT Asset Management ([Live Demo](https://ej2.syncfusion.com/showcase/vue/assetmanagement/?utm_source=npm&utm_campaign=popup)) * Webmail ([Source](https://github.com/syncfusion/ej2-showcase-ts-webmail/?utm_source=npm&utm_campaign=popup), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/webmail/?utm_source=npm&utm_campaign=popup/#/home)) * Loan Calculator ([Source](https://github.com/syncfusion/ej2-showcase-ts-loancalculator/?utm_source=npm&utm_campaign=popup), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/loancalculator/?utm_source=npm&utm_campaign=popup/#/default)) ## Key Features ## Dialog * [Modal](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=dialog#/fluent2/dialog/modal-dialog) - Displays the important information to users. * [Positioning](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=dialog#/fluent2/dialog/position) - Supports to customize its display position. * [Animation](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=dialog#/fluent2/dialog/animation) - Offers to set animation effects on open and close the dialog. * [Template](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=dialog#/fluent2/dialog/template) - Provides an option to customize its header and footer. * [Built-in buttons](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=dialog#/fluent2/dialog/default) - Provides a built-in support to add buttons to its properties. ## Tooltip * [Positions](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=tooltip#/fluent2/tooltip/default) - Allows you to display the tooltip in 12 different positions. * [Animation](https://ej2.syncfusion.com/products/typescript/tooltip/animation/?utm_source=npm&utm_campaign=tooltip) - Supports animation effects while showing/hiding the tooltip. * [Content](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=tooltip#/fluent2/tooltip/ajaxcontent) - Assigns with static text, template, or loaded dynamically via AJAX. * [Opening modes](https://ej2.syncfusion.com/products/typescript/tooltip/show-hide/?utm_source=npm&utm_campaign=tooltip) - Supports four opening modes such as hover, click, focus, and custom. * [Smart positioning](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=tooltip#/fluent2/tooltip/smartposition) - Supports auto tip positioning. * [Mouse trail](https://ej2.syncfusion.com/products/typescript/tooltip/customization/?utm_source=npm&utm_campaign=tooltip) - Moves along with mouse pointer using the mouse trailing option. * [Sticky mode](https://ej2.syncfusion.com/products/typescript/tooltip/show-hide/?utm_source=npm&utm_campaign=tooltip) - Opens in sticky mode, and allows you to close/hide the Tooltip manually. ## Support Product support is available for through following mediums: * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents/?utm_source=npm&utm_campaign=popup) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2/?utm_source=npm&utm_campaign=popup). * New [GitHub issue](https://github.com/syncfusion/ej2-react-ui-components/issues/new). * Ask your query in Stack Overflow with tag `syncfusion` and `ej2`. ## License Check the license detail [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/license). ## Changelog Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/components/popups/CHANGELOG.md/?utm_source=npm&utm_campaign=popup). © Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.