andrico1234 / oui-ui

A set of web components that adheres to the research and proposals conducted by the OpenUI working group.

Home Page:https://oui-ui.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenUI UI (oui-ui)

image of Yui, the OpenUI UI mascot

Welcome to the unofficial OpenUI UI library, or oui-ui for short.

Note: This is currently a library I'm developing to learn web components. It's best not to use this in production.

If you'd like to see a demo, you can check out the oui-ui documentation site

What's OpenUI? According to the OpenUI site:

The purpose of Open UI to the web platform is to allow web developers to style and extend built-in web UI controls, such as <select> dropdowns, checkboxes, radio buttons, and date/color pickers.

Long term, we hope that Open UI will establish a standard process for developing high-quality UI controls suitable for addition to the web platform.

oui-ui is the implementation of these proposed UI controls as a web component library, and so can be used with HTML, or with a framework like React or Vue.

Usage

If you want to get started, you can follow along to the checkbox quick start

Components

Currently, oui-ui only exports a single checkbox component.

Component
<oui-checkbox>

Development

Running oui-ui locally

Being by forking the repo. Whilst in the root directory:

  • run nvm use, or ensure you're the node version specified in the .nvmrc file.
  • install dependencies using yarn.
  • ensure the tests are passing by running yarn test.
  • kick off the dev server by running yarn develop.
  • run the docs site locally using yarn docs:start.
  • jump into whichever you package you want to change
  • view your changes in your locally running docs

Tech stack

oui-ui uses:

  • πŸ’ͺ🏾 TypeScript as the primary language to keep things strong(ly typed).
  • πŸ“ Changesets to manage changelogs, versioning, and publishing.
  • πŸ›  Web Test Runner for testing
  • 🧼 ESLint + Prettier for keeping code clean like a money machine.
  • πŸ—‚ Docusaurus for handling our documentation.
  • πŸ€– Commitizen + Commitlint for consistent commits.
  • πŸ™‹πŸ½β€β™‚οΈ Andrico for keeping things ticking along.

About

A set of web components that adheres to the research and proposals conducted by the OpenUI working group.

https://oui-ui.netlify.app/

License:MIT License


Languages

Language:JavaScript 76.6%Language:TypeScript 22.8%Language:Shell 0.6%