Skip to content
R

rc-new-window

popup new browser window with react

by rinickFree

#630in UI Libraries
0In stores

Description

rc-new-window is a React component that shows content in a separate popup browser window. You place it where you want the window to open and…

Highlights

  • Shows React content in a popup browser window
  • Use a url or your own children as the popup content
  • Copies main window styles into the popup by default
  • Callbacks for open, close and blocked popups
  • Set popup size and position from props

Ratings & Reviews

No ratings yet

Be the first to rate rc-new-window.

People also visit

R

react-popup

React popup component from Minutemailer

UI Libraries
Launch
R

@rc-component/portal

React Portal Component

UI Libraries
Launch
R

react-modal

Accessible modal dialog component for React

UI Libraries
Launch
R

react-popopo

Smart popover component for React

UI Libraries
Launch
R

@rc-component/trigger

Popup trigger and alignment primitive for React

UI Libraries
Launch
R

react-native-popover-view

A <Popover /> component for react-native iOS, Android, and Web

UI Libraries
Launch

rc-new-window FAQ

What does rc-new-window do?

It shows React content in a separate popup browser window. You place the component where the window should open, and it manages the popup for you.

How do I install it?

It is published on npm as rc-new-window. The README covers installation and usage and links to a live example.

Is it free?

Yes. It is released under the Apache License 2.0.

Which props can I set?

The url or children for the content, plus name, title, width, height, copyStyles and top, and init functions for the popup's inner and outer position.

What happens if the browser blocks the popup?

An onBlock callback runs when window.open fails, so your code can respond to it.

What are the best rc-new-window alternatives?

Popular alternatives to rc-new-window include react-popup, @rc-component/portal and react-modal. See all rc-new-window alternatives

Developer Stuff

Badges