TypeScript icon, indicating that this package has built-in type declarations

    2.15.1 • Public • Published

    Temporary (hopefully) fork of Grommet

    This fork fixes a major issue of not being able to click anything inside of a Layer when rendered inside of a shadow root. This is because the shadow root itself is the event target for the "click outside" event listener registered at the top level. This makes the click appear to be outside of the of the Layer. There is an open PR for this issue that has been pending for some time now.

    Since supporting shadow dom does not seem to be a priority for the maintainers, other shadow dom related fixes may be published here.


    npm i @brentropy/grommet-with-shadow-dom-fixes

    --- Original README Below ---

    Grommet: focus on the essential experience

    PRs Welcome slack follow blogs npm package npm downloads styled with prettier


    Visit the Grommet website for more information.

    Support / Contributing

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


    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.


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

        $ npm run storybook


        $ yarn storybook
    2. Basic code-sandbox playgrounds for each component.

    3. Templates, patterns, and starters: feel free to share with us more pattern ideas on Slack.

    4. End-to-end project examples from our community in the #i-made-this Slack channel.

    5. Read more from the Grommet team on Medium.


    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:


    npm i @brentropy/grommet-with-shadow-dom-fixes



    DownloadsWeekly Downloads






    Unpacked Size

    6.76 MB

    Total Files


    Last publish


    • brentropy