React js UI example. Select Content Type

React js UI example and template, Select Content Type! . 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: menu,content,documents,files

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>
			<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/>
<div class="container bootstrap snippets bootdey">
    <div class="row">
        <div class="col-xs-12 col-sm-4 br-a br-light bg-light pv20 ph30">
            <h4 class="micro-header">Select Content Type</h4>
            <div class="row text-center" id="content-type">
        
              <div class="col-xs-4 col-sm-6">
                <a class="holder-style p15 mb20 holder-active" href="#dock-image">
                  <span class="fa fa-picture-o holder-icon"></span>
                  <br/> Image
                </a>
              </div>
              <div class="col-xs-4 col-sm-6">
                <a class="holder-style p15 mb20" href="#dock-panel">
                  <span class="fa fa-text-height holder-icon"></span>
                  <br/> Panel
                </a>
              </div>
              <div class="col-xs-4 col-sm-6">
                <a class="holder-style p15 mb20" href="#dock-table">
                  <span class="fa fa-pencil-square-o holder-icon"></span>
                  <br/> Table
                </a>
              </div>
              <div class="col-xs-4 col-sm-6">
                <a class="holder-style p15 mb20" href="#dock-form">
                  <span class="fa fa-map-marker holder-icon"></span>
                  <br/> Form
                </a>
              </div>
              <div class="col-xs-4 col-sm-6">
                <a class="holder-style p15 mb20" href="#dock-text">
                  <span class="fa fa-film holder-icon"></span>
                  <br/> Text
                </a>
              </div>
              <div class="col-xs-4 col-sm-6">
                <a class="holder-style p15 mb20" href="#dock-video">
                  <span class="fa fa-spinner holder-icon"></span>
                  <br/> Video
                </a>
              </div>
            </div>
            <button id="dock-push" type="button" class="btn btn-success fs14 fw600 pv15 btn-block">Send to Admin Dock</button>
        </div>
        <div class="col-xs-12 col-sm-8 br-a br-light bg-light dark">
            <div id="dock-content" class="ph60">
                <div id="dock-image" class="content active-content">
                    <div class="dock-item" data-title="Tiger Image">
                      <img class="img-responsive center-block" src="https://www.bootdey.com/image/500x330/00BFFF/000000"/>
                    </div>
                 </div>
                 <div id="dock-panel" class="content">
                 PANEL 
                 </div>
                 <div id="dock-table" class="content">
                 TABLE CONTENT
                 </div>
                 <div id="dock-form" class="content">
                 COOL FORM
                 </div>
                 <div id="dock-text" class="content">
                 AMAZING TEXT
                 </div>
                 <div id="dock-video" class="content">
                 AWESOME VIDEO
                 </div>
            </div>
        </div>
  </div>
</div>
		</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;
    background:#e7e7e7;
}

.bg-light {
  background-color: #FAFAFA;
  color: #666;
}

.br-light {
  border-color: #e7e7e7 !important;
}

.br-a {
  border: 1px solid #eeeeee !important;
}

.ph30 {
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.ph60 {
  padding: 60px !important;
}

.pv20 {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.bg-light.dark {
  background-color: #F2F2F2;
}

.micro-header {
  color: #999;
  text-align: center;
  font-weight: 400;
  margin-bottom: 20px;
}

h4, .h4 {
  font-size: 15px;
}

.holder-style.holder-active {
  background-color: #FFF;
  border:2px dashed #70ca63;
}

.mb20 {
  margin-bottom: 20px !important;
}

.p15 {
  padding: 15px !important;
}

.holder-style {
  display: block;
  padding: 9px 16px;
  color: #AAA;
  background-color: #f1f1f1;
  border: 2px dashed #d9d9d9;
  -webkit-transition: all 0.15s ease;
  -moz-transition: all 0.15s ease;
  transition: all 0.15s ease;
}

.holder-style.holder-active .holder-icon {
  color: #70ca63;
}

.holder-style .holder-icon {
  color: #AAA;
  font-size: 30px;
  padding-bottom: 10px;
}
a, a:hover, a:focus{
    text-decoration:none !important;    
}

Similar snippets

React js template and ui example bs4 navbar with dropdown animations

bs4 navbar with dropdown animations

React js template and ui example bs4 Responsive Dashboard Menu Cards

bs4 Responsive Dashboard Menu Cards

React js template and ui example home menu blockquote box jquery2dotnet

home menu blockquote box jquery2dotnet

React js template and ui example File manager page

File manager page

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example user profile bio graph and total sales

user profile bio graph and total sales

React js template and ui example about me

about me

React js template and ui example social network user profile example

social network user profile example