A collection of prototyped UI elements
Clone or download
surma Merge pull request #113 from davideast/firebase-ssr-flaky-chat-network
Server-side rendering, custom element-ing, realtiming, flaky network …
Latest commit cb21b7c Feb 22, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
3d-card-flip applied overflow only to body, not html Aug 25, 2016
accordion Fixes lint error Jul 22, 2016
animated-blur Fix resize issue with blur Oct 13, 2017
animated-clip FIX: Now actually using the declared consts Jul 14, 2017
code-splitting Code splitting Jun 22, 2017
custom-scrollbar Merge pull request #78 from phistuck/patch-2 Mar 28, 2017
expand-collapse Remove transitions and make list scrollable Oct 25, 2016
firebase-firestore-comments Server-side rendering, custom element-ing, realtiming, flaky network … Feb 22, 2018
flip-switch Update index.html May 15, 2017
image-zoomer Adds comments. Mar 4, 2016
infinite-scroller remove unused variables Sep 9, 2017
lazy-image Fix live version of lazy-iamge Aug 24, 2017
parallax Fix parallax after resize - fixes #68 Dec 9, 2016
router-advanced Remove unused property Nov 14, 2016
router Add missing elements in gh-pages landing page (#62) Oct 20, 2016
server-side-rendering Remove unused property Nov 14, 2016
service-worker Add Polymer Summit 2017 Aug 24, 2017
side-nav fix: Identify and stop the correct transition when multiple are fired Aug 28, 2017
stream-progress Actually prevent non 200 responses. May 19, 2017
streaming-service-worker copyAndRev path Jul 22, 2017
swipeable-cards add overflow-x:hidden to body, for swipeable card Feb 4, 2018
template Initial commit. Mar 4, 2016
web-workers Clean and comment code. (#105) Nov 3, 2017
webgl-image-processing Code from WebGL live stream Oct 2, 2017
.editorconfig Adds more advanced router. Jun 30, 2016
.eslintrc Update .eslintrc May 15, 2017
.gitignore Adds more advanced router. Jun 30, 2016
CONTRIBUTING.md Initial commit. Mar 4, 2016
LICENSE Initial commit. Mar 4, 2016
README.md Update README.md Jul 19, 2016
index.html fix(homepage): fixed typo Nov 3, 2017

README.md

UI Elements

A collection of UI element samples written with vanilla web platform features.

Please note: these are prototypes, and not production-ready. The aim is to demonstrate a solid approach for building performant UI elements.

Getting started

  1. Clone the repo.
  2. Open an element's subfolder.
  3. Run index.html

ES2015 and ES5 Transpilation

Please note: these samples are written in ES2015 and, as such, require direct browser support. You can transpile the examples with BabelJS:

babel --presets=es2015 swipeable-cards/cards.js --out-file swipeable-cards/cards-es5.js
babel --presets=es2015 side-nav/side-nav.js --out-file side-nav/side-nav-es5.js

But to keep things as simple as possible for everyone, that's out of scope for this set of samples.

License

Copyright 2015 Google, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Please note: this is not a Google product