MCPcopy Index your code
hub / github.com/grommet/grommet

github.com/grommet/grommet @v2.55.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.55.0 ↗ · + Follow
1,332 symbols 4,645 edges 1,202 files 0 documented · 0% updated 4d agov2.55.0 · 2026-06-04★ 8,354361 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Grommet: focus on the essential experience

PRs Welcome slack blogs npm package npm downloads styled with prettier

Documentation

Visit the Grommet website for more information.

Support / Contributing

Before opening an issue or pull request, please read the Contributing guide.

Install

You can install Grommet using either of the methods given below.

For npm users:

  $ npm install grommet styled-components --save

For Yarn users:

  $ yarn add grommet styled-components

There are more detailed instructions in the Grommet Starter app tutorial for new apps. For incorporating Grommet into an existing app, see the Existing App version.

Explore

  1. Storybook examples per component, you can create them locally by running:

shell $ npm run storybook

or

shell $ yarn storybook

  1. Grommet starter template sandbox.
  2. Templates, patterns, and starters: feel free to share with us more pattern ideas on Slack.
  3. End-to-end project examples from our community in the #i-made-this Slack channel.
  4. Read more from the Grommet team on Medium.

Stable

grommet is also available on a stable branch that is built with the content of the 'master' branch. From your package.json point to stable.

"grommet": "https://github.com/grommet/grommet/tarball/stable",

For more info, read the stable wiki.

Release History

See the Change Log.

Tools Behind Grommet

Grommet is produced using this great tool:

Extension points exported contracts — how you extend this code

SkipLinkTargetProps (Interface)
(no doc)
src/js/components/SkipLinkTarget/index.d.ts
ChartProps (Interface)
(no doc)
src/js/components/Chart/index.d.ts
ChartExtendedProps (Interface)
(no doc)
src/js/components/Chart/index.d.ts
CalcsResult (Interface)
(no doc)
src/js/components/Chart/index.d.ts
CalcsOptions (Interface)
(no doc)
src/js/components/Chart/index.d.ts

Core symbols most depended-on inside this repo

useThemeValue
called by 119
src/js/utils/useThemeValue.js
expectPortal
called by 112
src/js/utils/portal.js
normalizeColor
called by 110
src/js/utils/colors.js
parseMetricToNum
called by 76
src/js/utils/mixins.js
format
called by 62
src/js/contexts/MessageContext/MessageContext.js
breakpointStyle
called by 45
src/js/utils/mixins.js
deepMerge
called by 45
src/js/utils/object.js
getAnimationStyle
called by 44
src/js/components/Layer/StyledLayer.js

Shape

Function 1,132
Interface 187
Class 10
Method 3

Languages

TypeScript100%

Modules by API surface

src/js/utils/styles.js23 symbols
src/js/components/DataTable/buildState.js18 symbols
src/js/components/Form/Form.js17 symbols
src/js/utils/DOM.js15 symbols
src/js/components/Calendar/Calendar.js15 symbols
src/js/components/Calendar/utils.js14 symbols
src/js/components/Calendar/StyledCalendar.js14 symbols
src/js/components/Select/utils.js13 symbols
src/js/components/Button/StyledButtonKind.js11 symbols
src/js/utils/background.js10 symbols
src/js/components/Button/StyledButton.js10 symbols
src/js/utils/colors.js9 symbols

Dependencies from manifests, versioned

@babel/cli7.28.6 · 1×
@babel/core7.29.0 · 1×
@babel/eslint-parser7.28.6 · 1×
@babel/node7.29.0 · 1×
@babel/plugin-proposal-class-properties7.18.6 · 1×
@babel/plugin-proposal-do-expressions7.28.6 · 1×
@babel/plugin-proposal-export-default-from7.27.1 · 1×
@babel/plugin-proposal-pipeline-operator7.28.6 · 1×
@babel/plugin-transform-class-properties7.28.6 · 1×
@babel/plugin-transform-logical-assignment-operators7.28.6 · 1×
@babel/plugin-transform-nullish-coalescing-operator7.28.6 · 1×
@babel/plugin-transform-optional-chaining7.28.6 · 1×

For agents

$ claude mcp add grommet \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact