React js UI example. bs4 Email alert

React js UI example and template, bs4 Email alert! . Take a look at this UI example and see how it can enhance your project. Your can copy or download the code and use it in your project. Don't forget to browse our library of other free React Native templates for even more design and functionality inspiration. Happy coding!
Tags: email,inbox

1. First, we need fresh reactjs setup, and for that, we need to run below commands into out terminal, and also we should have latest node version installed on our system:

npx create-react-app my-awesome-project

cd my-awesome-project

npm start

2. Now we need to run below commands into our project terminal to get bootstrap and related modules into our reactjs application:

npm install [email protected] --save

npm start //For start project again

3. Finally for the main output, we need to add below code into our my-awesome-project/src/App.js file or if you have fresh setup then you can replace my-awesome-project/src/App.js file code with below code:

import React from 'react';
import './App.css';
import 'bootstrap/dist/css/bootstrap.min.css';


function App() {
  
	return (
		<div>
			<table class="body-wrap" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;*/}} bgcolor="#f6f6f6">
    <tbody>
        <tr style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
            <td style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;*/}} valign="top"></td>
            <td class="container" width="600" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;*/}}
                valign="top">
                <div class="content" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;*/}}>
                    <table class="main" width="100%" cellpadding="0" cellspacing="0" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;*/}}
                        bgcolor="#fff">
                        <tbody>
                            <tr style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
                                <td class="" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 16px; vertical-align: top; color: #fff; font-weight: 500; text-align: center; border-radius: 3px 3px 0 0; background-color: #38414a; margin: 0; padding: 20px;*/}}
                                    align="center" bgcolor="#71b6f9" valign="top">
                                    <a href="#/" style={{/*font-size:32px;color:#fff;*/}}> Bootdey.com</a> <br/>
                                    <span style={{/*margin-top: 10px;display: block;*/}}>Warning: You're approaching your limit. Please upgrade.</span>
                                </td>
                            </tr>
                            <tr style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
                                <td class="content-wrap" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;*/}} valign="top">
                                    <table width="100%" cellpadding="0" cellspacing="0" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
                                        <tbody>
                                            <tr style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
                                                <td class="content-block" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;*/}} valign="top">
                                                    You have <strong style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>1
                                free report</strong> remaining.
                                                </td>
                                            </tr>
                                            <tr style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
                                                <td class="content-block" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;*/}} valign="top">
                                                    Add your credit card now to upgrade your account to a premium plan to ensure you don't miss out on any reports.
                                                </td>
                                            </tr>
                                            <tr style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
                                                <td class="content-block" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;*/}} valign="top">
                                                    <a href="#/" class="btn-primary" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #f1556c; margin: 0; border-color: #f1556c; border-style: solid; border-width: 8px 16px;*/}}>Upgrade
                                    my account</a>
                                                </td>
                                            </tr>
                                            <tr style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
                                                <td class="content-block" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;*/}} valign="top">
                                                    Thanks for choosing <b>Minton</b> Admin.
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <div class="footer" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;*/}}>
                        <table width="100%" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
                            <tbody>
                                <tr style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;*/}}>
                                    <td class="aligncenter content-block" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;*/}} align="center" valign="top"><a href="#/" style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; color: #999; text-decoration: underline; margin: 0;*/}}>Unsubscribe</a> from these alerts.
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </td>
            <td style={{/*font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;*/}} valign="top"></td>
        </tr>
    </tbody>
</table>
		</div>
	);
}
export default App;

4. Now we need to add below code into our my-awesome-project/src/App.css file :

body{margin-top:20px;}

Similar snippets

React js template and ui example bs4 beta view email message

bs4 beta view email message

React js template and ui example bs4 simple read email

bs4 simple read email

React js template and ui example bs4 beta email inbox

bs4 beta email inbox

React js template and ui example bs4 inbox list

bs4 inbox list

React js template and ui example chat app

chat app

React js template and ui example Complete User Profile Page for Bootstrap

Complete User Profile Page for Bootstrap

React js template and ui example bs4 profile header card

bs4 profile header card

React js template and ui example Filter search result page

Filter search result page