Skip to content

bgrins/photon-components-web

 
 

Repository files navigation

photon-components-web

Photon versions of the some common web UI components

Conventions

Components are styled using the BEM (Block-Element-Modifier) convention:

  • Top-level components are "blocks"
    • e.g. button
  • Parts of components are "elements", and are namespaced by their block:
    • e.g. card__media as a sub-element of card
  • modifiers are optional or stateful properties applied to the markup:
    • Top-level modifiers are namespaced to their block, e.g. button--primary
    • Element-level modifiers namespace to their element, e.g. card__media--loading

About

Photon versions of the some common WebComponents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 73.6%
  • JavaScript 26.4%