Coder Social home page Coder Social logo

react-theming / glamorous-samples Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 622 KB

Storybook with samples of glamorous components

Home Page: https://react-theming.github.io/glamorous-samples

JavaScript 100.00%
glamorous storybook examples demo theming

glamorous-samples's Introduction

Storybook & Glamorous

Here're some glamorous examples from https://glamorous.rocks/ organized into a storybook.

Each expample goes in a separate story with description and has a link to codesandbox.io with the same source code

Check it out on github pages: Live demo

Usage

If you want to play with this examples:

git clone https://github.com/react-theming/glamorous-samples.git
cd glamorous-samples
npm i
npm start

It will launch the Storybook. Open in your browser http://localhost:9009 Navigate through the list of stories at the left panel. Each example has an annotation with short description and a name of source file (located in the src folder). Modify these files for better understanding of how the glamorous works. As you save the file, HMR will update the component and you'll see the result in your browser.

Addon

This storybook contains additional example of a themable glamorous component. You can find it in Theming->with Addon. You can control theme data provided to this component via addon right in your browser. Find the 'Glamorous' panel at the bottom. When you edit the content of textarea (in JSON format) the component changes appropriately

Preview

screenshot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.