Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
Community Plugin
View plugin on GitHub


Build Status npm version npm total downloads


yarn add @micalgenus/gatsby-plugin-github-avatar
npm install --save @micalgenus/gatsby-plugin-github-avatar

How to use

// gatsby-config.js

module.exports = {
  plugins: [
      resolve: `@micalgenus/gatsby-plugin-github-avatar`,
      options: {
        username: `micalgenus`, // Github username
        default: 12954607, // Github userid for default image

Example usage

// example.jsx

import React from 'react';
import Avatar from '@micalgenus/gatsby-plugin-github-avatar';

export class ExampleComponent extends React.Component {
  render() {
    return <Avatar />;
© 2022 Gatsby, Inc.