connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10k stars 577 forks source link

Some external components #130

Open MauriceConrad opened 7 years ago

MauriceConrad commented 7 years ago

There are a few photon components, mostly javascript controllers but also new ones.

The complete project: https://github.com/MauriceConrad/Photon-Components

Native Button: https://jsfiddle.net/cw7335h9/

Dialog: https://jsfiddle.net/o0hqvppu/

Segmented control with JS controller (that also works for every bin group): https://jsfiddle.net/wc2h5cp4/

Range sliders with all options: https://jsfiddle.net/pq9kny07/

Swipe List Items: (Doesn't Works in browser, try it out in electron runtime): https://github.com/MauriceConrad/Photon-Components/tree/master/swipe

Tab JS controller & more native looking style: https://jsfiddle.net/5qo1d5dn/

Better progress bar(Isn't blurry on retina displays as native one sand has a nice animation for indeterminate progress bars): https://jsfiddle.net/g17f3axy/

Circle progress: https://jsfiddle.net/rfzLan1k/

Thank You :)