Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

glitchdotcom/shared-components

 
 

Repository files navigation

shared-components

This is a library of React components used on Glitch's community site and editor.

Installation

npm install @glitchdotcom/shared-components

This package has a peer dependency on React 16.8+ ("the one with hooks"); it also includes dependencies on prop-types and styled-components.

Usage

For documentation of available components, see shared-components.glitch.me.

Browser support

This works as-is in evergreen browsers, but it uses features which may require polyfills, transpilation, or other fallbacks:

  • css custom properties (aka "css variables")
  • ES2018 features (e.g. async/await, object spread)
  • <details> and <dialog> HTML elements

In production applications

In production applications, you will likely want to use the following babel plugins:

Contributing

For information on making changes to shared-components, refer to CONTRIBUTING.md

About

Shared React components for community & editor

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 14

Languages