@mdbootstrap/react-registration-form
v4.0.0
Published
template for mdb-react-ui-kit
Downloads
2
Maintainers
Readme
MDB React 5
Responsive React Registration form built with Bootstrap 5. Templates for signup forms, registration popups, register modal designs, registration validation & more.
Check out React Registration Form Documentation for detailed instructions & even more examples.
Basic example
import React from 'react';
import {
MDBBtn,
MDBContainer,
MDBRow,
MDBCol,
MDBCard,
MDBCardBody,
MDBCardImage,
MDBInput,
MDBIcon,
MDBCheckbox
}
from 'mdb-react-ui-kit';
function App() {
return (
<MDBContainer fluid>
<MDBCard className='text-black m-5' style={{borderRadius: '25px'}}>
<MDBCardBody>
<MDBRow>
<MDBCol md='10' lg='6' className='order-2 order-lg-1 d-flex flex-column align-items-center'>
<p classNAme="text-center h1 fw-bold mb-5 mx-1 mx-md-4 mt-4">Sign up</p>
<div className="d-flex flex-row align-items-center mb-4 ">
<MDBIcon fas icon="user me-3" size='lg'/>
<MDBInput label='Your Name' id='form1' type='text' className='w-100'/>
</div>
<div className="d-flex flex-row align-items-center mb-4">
<MDBIcon fas icon="envelope me-3" size='lg'/>
<MDBInput label='Your Email' id='form2' type='email'/>
</div>
<div className="d-flex flex-row align-items-center mb-4">
<MDBIcon fas icon="lock me-3" size='lg'/>
<MDBInput label='Password' id='form3' type='password'/>
</div>
<div className="d-flex flex-row align-items-center mb-4">
<MDBIcon fas icon="key me-3" size='lg'/>
<MDBInput label='Repeat your password' id='form4' type='password'/>
</div>
<div className='mb-4'>
<MDBCheckbox name='flexCheck' value='' id='flexCheckDefault' label='Subscribe to our newsletter' />
</div>
<MDBBtn className='mb-4' size='lg'>Register</MDBBtn>
</MDBCol>
<MDBCol md='10' lg='6' className='order-1 order-lg-2 d-flex align-items-center'>
<MDBCardImage src='https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-registration/draw1.webp' fluid/>
</MDBCol>
</MDBRow>
</MDBCardBody>
</MDBCard>
<link
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
rel="stylesheet"
/>
<link
href="https://use.fontawesome.com/releases/v5.15.1/css/all.css"
rel="stylesheet"
/>
</MDBContainer>
);
}
export default App;
How to use?
Download MDB 5 - free REACT UI KIT
Choose your favourite customized component and click on the image
Copy & paste the code into your MDB project
▶️ Subscribe to YouTube channel for web development tutorials & resources
More examples
Registration form with select:
Registration form with radio buttons:
You can find other examples here.