What is React Grommet?

Grommet is a React-based component library similar to UI libraries like Material-UI and React Bootstrap.

The React-based framework claims to provide accessibility, modularity, responsiveness, and themes. It provides great theme tooling and specializes in accessible, mobile-friendly applications.

A glimpse of some of the available components
A glimpse of some of the available components

Check out their website for more details.

Installation

For npm users:
npm install grommet styled-components --save

For yarn users:
yarn add grommet styled-components

Code

Let’s create a cool-looking drop-down button using Grommet:

import React from 'react';

import ReactDOM from 'react-dom';
import App from './app.js';

ReactDOM.render(
  <App />, 
  document.getElementById('root')
);

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved