1.0.0 • Published 2 years ago

@mdbootstrap/react-avatar v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

MDB Logo

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

React Avatar 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?

  1. Download MDB 5 - free REACT UI KIT

  2. Choose your favourite customized component and click on the image

  3. Copy & paste the code into your MDB project

▶️ Subscribe to YouTube channel for web development tutorials & resources

More examples

With shadows:

React Avatar #1

Square:

React Avatar #2

With content:

React Avatar #3

You can find other examples here.

More extended React documentation