Giter VIP home page Giter VIP logo

happui's Introduction

HappUI

Glitch Badge

WebComponent ‹Sentir—Comprendre—Connaître›, following Enrique Pardo's requirements and concept (described at https://happui.org/app/).

Current status

<happ-ui-exp01 title="Color Wheel 1"
  sentir="0.8" connaitre="0.8" comprendre="0.8"></happ-ui-exp01>
<happ-ui-exp01 title="Color Wheel 2"
  sentir="0.8" connaitre="0.5" comprendre="0.6"></happ-ui-exp01>

Two sample ‹happ-ui› web components

Our <happ-ui> Web Component

This webcomponent follows the open-wc recommendation.

Installation

npm install happ-ui

Usage

<script type="module">
    import { HappUiExp01 } from './src/HappUiExp01.js';
    window.customElements.define('happ-ui-exp01', HappUiExp01);

    import { HappUiExp02 } from './src/HappUiExp02.js';
    window.customElements.define('happ-ui-exp02', HappUiExp02);
</script>

<happ-ui-exp01 title="Color Wheel Exp 01"
  sentir="0.65" connaitre="0.65" comprendre="0.65"></happ-ui-exp01>
<happ-ui-exp02 title="Color Wheel Exp 02"
  sentir="0.65" connaitre="0.65" comprendre="0.65"></happ-ui-exp02>

Demoing with Storybook

To run a local instance of Storybook for your component, run

npm run storybook

To build a production version of Storybook, run

npm run storybook:build

Tooling configs

For most of the tools, the configuration is in the package.json to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

Local Demo with es-dev-server

npm run watch

To run a local development server that serves the basic demo located in index.html.

happui's People

Contributors

dependabot[bot] avatar egoes avatar olange avatar rudifa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

egoes

happui's Issues

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.