@mdbootstrap/react-avatar

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i @mdbootstrap/react-avatar

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

304 kB

Total Files

23

Last publish

Collaborators

  • mdbootstrap