@mdbootstrap/react-avatar
v1.0.0
Published
template for mdb-react-ui-kit
Downloads
3
Maintainers
Readme
MDB React 5
Responsive React Avatar built with Bootstrap 5. Examples of circle or square avatar, avatar in a card, inside the navbar, testimonial carousel, profile card & more.
Check out React Avatar Documentation for detailed instructions & even more examples.
Basic example
import React from "react";
import { MDBContainer } from "mdb-react-ui-kit";
function App() {
return (
<MDBContainer className="my-5 d-flex justify-content-center">
<img
src="https://mdbcdn.b-cdn.net/img/new/avatars/2.webp"
className="rounded-circle"
alt="Avatar"
/>
</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
With shadows:
Square:
With content:
You can find other examples here.