An open API service indexing awesome lists of open source software.

https://github.com/darlanmendonca/minimalist

a complete and responsive interface for web
https://github.com/darlanmendonca/minimalist

custom-elements-v1 ui-kit web-components

Last synced: 3 months ago
JSON representation

a complete and responsive interface for web

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/darlanmendonca/minimalist.svg?branch=master)](https://travis-ci.org/darlanmendonca/minimalist)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)

## minimalist-ui

A UI Kit for Web, based in web components (using Custom Elements), ready to be used with or without any framework.

```sh
npm install minimalist-ui
```

##### forms

- [form](./src/form)
- [input-text](./src/input-text)
- [input-password](./src/input-password)
- [input-email](./src/input-email)
- [input-number](./src/input-number)
- [button](./src/button)

##### content

- [sidenav](./src/sidenav)
- [dialog](./src/dialog)

##### styles

- [layout](./src/layout)
- [backdrop](./src/backdrop)
- [section](./src/section)

### How it works

Each component in minimalist, has a single core writed with a ES6 class, following the Custom Elements API v1 and providing a complete style ready to be used or customized using CSS Variables.

All is designed to allow inheritance between components, e.g. `` defines a input text in appearance and behaviors like a disabled state. But if you need a input number, `` extends `mn-input-text` style and common behaviors, but implements new features like increment/decrement using arrow keys, or min/max parameters.

Each feature is built with three things in mind

- keep it simple
- respect different framework architectures
- identity can be changed totally