Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pranshudobhal/hue-ui

A lightweight and ready-to-use CSS library for developing fast and responsive web interfaces! 😀
https://github.com/pranshudobhal/hue-ui

Last synced: 2 days ago
JSON representation

A lightweight and ready-to-use CSS library for developing fast and responsive web interfaces! 😀

Awesome Lists containing this project

README

        

# [Hue UI - A CSS Component Library](https://hue-ui.vercel.app/)

A lightweight and ready-to-use CSS library for developing fast and responsive web interfaces! 😀


## **Table of contents**

- [Overview](#overview)

- [Usage](#usage)
- [Documentation](#documentation)
- [Screenshot](#screenshot)

- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)
- [Acknowledgments](#acknowledgments)


## **Overview**


### **Usage**


### **CSS**

Just copy-paste the stylesheet `` into your `` to load our CSS.

```html

```


### **JS**

Some of our components require the use of JavaScript to function. Place our script at the end of your page content, right before the closing `` tag, to enable them.

```html

```


### **Documentation**

Check out our **[documentation website](https://hue-ui.vercel.app/getting-started.html)**.



### **Screenshot**

![Desktop Homepage](./preview/Desktop_Home.png 'Desktop Homepage')


![Desktop Getting Started](./preview/Desktop_Getting_Started.png 'Desktop Getting Started')


Mobile Homepage


Mobile Avatar


## **My process**

### **Built with**

- Semantic HTML5 markup
- CSS3
- SCSS
- Flexbox
- Mobile-first workflow
- Vanilla JS


### **What I learned**

This was my first time using **SCSS** in a big project, so I learned a lot! 😀
Besides the learning, I realized how important it is to stay organized and write code that is **clean** and **reusable**, especially as the project grows larger.


One of the things that I loved about **SCSS** is how easy it is to nest elements.


```css
nav ul {
margin: 0;
padding: 0;
list-style: none;
}
nav li {
display: inline-block;
}
nav a {
display: block;
padding: 6px 12px;
text-decoration: none;
}
```


The above **CSS** code can be written in **SCSS** as below:

```scss
nav {
ul {
margin: 0;
padding: 0;
list-style: none;
}

li {
display: inline-block;
}

a {
display: block;
padding: 6px 12px;
text-decoration: none;
}
}
```


### **Continued development**

- Structured code in a better way
- Learn more about **functions** and **mixins** in SCSS

### **Useful resources**

- **[SCSS](https://sass-lang.com/)** - This helped me greatly in learning **SCSS** and its variety of features. I really liked the examples given in **SCSS** documentation which helped me a lot to transition from writing **CSS** to **SCSS**.
- **[Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/)** - This is an amazing article on **flexbox** which helped me understand how flex works. I'd recommend it to anyone still learning this concept.

## **Author**

- **Website** - [Pranshu Dobhal](https://pranshudobhal.netlify.app/)
- **Twitter** - [@pranshu_dobhal](https://twitter.com/pranshu_dobhal)
- **LinkedIn** - [pranshudobhal](https://www.linkedin.com/in/pranshudobhal/)

## **Acknowledgments**

A big thanks to my mentor **[Tanay Pratap](https://twitter.com/tanaypratap)** for inspiring me and making me break my limits and also to my fellow **[NeoGrammers](https://twitter.com/neogcamp)** who supported and helped me throughout.😀