Giter Club home page Giter Club logo

wp-component-library's Introduction

10up Component Library

At 10up, we strive to provide websites that yield a top-notch user experience. In order to improve both our efficiency and consistency, we need to standardize what we use and how we use it. Standardizing our approach to commonly-used front-end components allows us to understand better the inner workings of someone else’s project and produce better solutions ourselves and our clients.

Each component in this library is built with simplicity and accessibility in mind, tailored to fit the often opinionated nature of WordPress core output. These components are intended to be easily adapted to any number of different projects and use cases.

All components are tested to be WCAG 2.0 Compliant.

Start browsing ☞

Dependencies

  1. .editorconfig Plugin - The .editorconfig file ensures that everyone contributing to the project will use the same indentation.

Structure

components/
├── component-name/
│   ├── _notes.md
│   ├── _resources.md
│   ├── _support.md
│   ├── component.css
│   ├── component.js
│   ├── component.html
│   ├── component-wp.html (optional)
│   ├── example.html
│   ├── index.md
│   ├── scss/
│       ├── component-name.scss

.editorconfig
.gitignore
README.md

Contributing

We don't know everything! We welcome pull requests and spirited, but respectful, debates. Please contribute via pull requests on GitHub.

All contributions to the component library should be tested against version 2 of the Web Accessibility Content Guidelines (WCAG 2.0)

  1. Fork it!
  2. Create your feature branch: git checkout -b component/my-new-component
  3. Commit your changes: git commit -am 'Added some great feature!'
  4. Push to the branch: git push origin component/my-new-component
  5. Submit a pull request

Running Locally

gem install bundler
bundle install
bundle exec jekyll serve

Once bundle exec jekyll serve has run, you can view the 10up Component library in your browser by copying/pasting the server address from your command line. It will look similar to the code below.

Configuration file: /[your-path-to-project]/wp-component-library/_config.yml
    Server address: http://127.0.0.1:4000/wp-component-library/
  Server running... press ctrl-c to stop.

Check out Github's documentation on local Jekyll setup for more info.

License

Released under MIT by, and copyright 2016 by 10up.

wp-component-library's People

Contributors

timwright12 avatar jonbellah avatar tlovett1 avatar rachelrvasquez avatar kdo avatar smy315 avatar colinhowells avatar saltcod avatar tfrommen avatar senadir avatar

Watchers

James Cloos avatar

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.