0.0.19 ā€¢ Published 5 months ago

graphene-web-components v0.0.19

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Graphene Components

Set of standards-based web components following the IBM Carbon Design System.

Why?

  • Web standards
  • Minimal barrier to entry
  • Easy to get started
  • Easy to use
  • No framework required
  • No build required
  • Works with frameworks
  • Highly customizable

This is a personal passion project. ā¤ļø It is not sponsored by IBM. It is not sanctioned by IBM. It is not affiliated with IBM. I just happen to be an ex-IBM employee that wanted a Vanilla web components with specific customizations for his development projects.

Getting Started

You need two parts. First is a CSS file for fonts (Open Sans) and a few styles that are used across multiple compoonents. Second is the components themselves. You can load the components in two ways: all at once or a la carte.

CSS

<link href="https://cdn.jsdelivr.net/npm/graphite-web-components@latest/graphite.css" rel="stylesheet">

All At Once

While the overall size of the entire set of components is relatively small compared to most modern web sites, you should be cautious about using this approach. Everything will be loaded. This is great for development, or if you are using a majority of the components. It is not so great if you are only using a few components.

<script src="https://cdn.jsdelivr.net/npm/graphite-web-components@latest/graphite.js" type="module"></script>

A La Carte

When loading a la carte, component dependencies are loaded by the components themselves.

<script src="https://cdn.jsdelivr.net/npm/graphite-web-components@latest/controls/button.js" type="module"></script>

That is it! Nope, there is no builder required. Nope, you do not npm install anything. No git clone of any repositories. No command line tools to setup the directories and dependencies in just the right way. All you need is an HTML page; add two tags and you are done. Welcome to web standards. šŸ¤Æ

Containers

  • āœ… Box āš ļø
  • āœ… HBox āš ļø
  • āœ… Header
  • āœ… Stack āš ļø
  • āœ… Tabs
  • āœ… VBox āš ļø

Controls

  • āœ… Avatar āš ļø
  • āœ… Button
  • āœ… Calendar
  • āœ… Checkbox
  • āœˆļø Date Picker
  • āœ… Icon
  • āœ… Icon Button
  • āœ… Input
  • āœ… Label
  • āœˆļø Radar Chart
  • āœ… Spacer
  • āœ… Tab
  • āœ… Tag
  • āœ… Text Area

āœ… Implemented (14)
āœˆļø In-flight/progress (1)
šŸ“† Planned (0)
ā“ To be determined (0)
āš ļø Not part of IBM Carbon (5)

0.0.18

5 months ago

0.0.19

5 months ago

0.0.13

5 months ago