modal_react_tailwind_responsive
0.2.0 • Public • Published
A modal made for npm, built using Javascript, React (components) and tailwindcss (style);
npm i modal_react_tailwind_responsive
React : 18.2.0 version;
Node.js : 19.8.1 version;
Tailwind CSS : 3.0.2 version;
React
Tailwind CSS
npm start
to start React
tailwind.config.js
- you will find all of the Tailwind settings, an essential file;
In the App file the Home component is imported where all the other components of the modal are present;
function App() {
return (
<>
<Home/>
</>
);
}

-
In the home file you will find the functions to open and close the modal
-
The component of the buttons and the modal
To facilitate the styling with tailwind all colors, fonts, and font sizes were removed, so that when it comes time to use the library it is flexible;


To change the text of the button that open the modal go to ./src/components/Home
To change the button text inside the modal go to ./src/components/Modal

Under ./src/components/Modal
are all the functions, styles and text from within the modal;

This modal is completely responsive

Package Sidebar
Install
npm i modal_react_tailwind_responsive
Weekly Downloads