0.0.8 • Published 3 years ago

@cleanlabs/clean-ui v0.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Clean UI

The cleanest UI library for HTML, CSS and JavaScript on your websites.

Contains handful of useful UI elements that are easy to use. Our website has transparent contents of our services for users.

Currently very early work in progress.

Components:

Classic Button

Classic Button is a stock-standard button to use on your websites. It's code is really simple so it wont drain your resources unnecessarily. Designed to look good on the most of the website layouts out there.

<button class="cui-classic-button">Classic Button</button>
CleanUI._Buttons.ClassicButton(
    "#ea596e", // primary color
    "#ffffff" // secondary color
);

Tooltip

Our tooltip is a classically looking alert that will bring attention to your viewers. It's simple and can easily convey the information that is important. It uses Material Icon as a icon in its body.

<div class="cui-tooltip">Tooltip</div>
CleanUI._Helper.Tooltip(
    "#ea596e" // main color
);

Percantage

Percantage picker is a native HTML's select inspired component. With it it's really easy to implement select fields that are highly cutomizable in visual aspects and well as functional ones.

<input class="cui-percantage-input" />
CleanUI._Pickers.Percantage(
    "#ea596e", // primary color
    "#ffffff", // secondary color
    "true" // close on click
);

Toggle

Toggle switcher is a widely used component as a replacement for classic checkbox. For some of the usage either checkbox or toggle switcher may be beter depending on the action you want to represent.

<input class="cui-toggle-input" />
CleanUI._Systemic.Toggle(
    "#ea596e", // active color
    "#c8c8c8", // background color
    "#ffffff", // switch color
    "26px" // border radius
);

Root

It contains a root element of you websites DOM. Mostly helpful for debugging and previewing your CSS variables from :root element. It does not produce any visual effects by itself.

CleanUI._Root();
0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago