Skip to content

dobkir/reactjs-modal-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modal window icon Simple template of the modal window for ReactJS Modal window icon

Contributors  Forks  Stargazers  Issues  MIT License  Repository size  LinkedIn

An example of working with a modal window from this template

Built With

  • Framework
    React

  • Languages
    Languages

  • Main language
    Main language

  • Others
    HTML5
    CSS

  • IDE
    VSCode
    VSCode

Work description

The modal window opens when you click on the corresponding button. Scrolling of the page is blocked when the window is opened. The window closes when you click on the close button (cross in the upper right corner), or when you click on the page area around the modal window.

Come here to watch an example on your Web Browser

Running on your local machine

To get a local copy up and running follow these simple steps.

  • Git
sudo apt-get install git
  1. Clone this repository on local machine:
git clone https://github.com/dobkir/reactjs-modal-template.git
  1. Install Node Package Manager on the directory with the cloning repository
npm install
  1. Run this template on your local machine
npm start

or

yarn start

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Gmail Badge

Project Link: https://github.com/dobkir/reactjs-modal-template

Acknowledgments

$ yarn add body-scroll-lock

or

$ npm install body-scroll-lock