@richaadgigi/stylexui
Version:
Build responsive, beautiful interfaces faster than ever with utility-first classes and smart defaults. No bloat. No fuss. Just results.
177 lines (113 loc) β’ 7.14 kB
Markdown
# StyleXui
A lightweight and modern CSS framework designed to streamline your development process effortlessly.
## π Overview
StyleXui, also known as **Style You**, is a CSS framework built to enhance your workflow with pre-designed components and utility classes. Whether you're an experienced developer or just starting out, StyleXui helps you build stunning, responsive UIs with ease.
Created by **Richard Gigi**, co-founder of **Xnyder**, StyleXui was developed to tackle common design inefficiencies in modern web development.
Dive in and see how StyleXui can bring your projects to life! π¨β¨
---
## π Features
β **Fully Responsive** β Built with a mobile-first approach, ensuring flawless adaptability across all screen sizes. Whether on a phone, tablet, or desktop, your design remains pixel-perfect and seamless.
β **Pre-Built Components** β Speed up development with a library of ready-to-use elements like buttons, modals, and navigation bars. No need to build from scratchβjust plug, customize, and launch.
β **Effortless Customization** β A utility-first framework that lets you style elements with ease, keeping your code clean and efficient. Define your own colors, spacing, and unitsβyour design, your way.
β **Accessibility-First** β Designed with inclusivity in mind, ensuring smooth navigation and interaction for all users, regardless of ability.
β **Seamless Light & Dark Mode** β Instantly switch between bright and dark themes for a comfortable viewing experience, day or night.
β **Comprehensive Documentation** β A well-structured, beginner-friendly guide to help you get started effortlessly and make the most outΒ ofΒ StyleXui.
β **JavaScript Enhancements** β Optional JavaScript for interactive components with smooth animations and behaviors.
---
## π¦ Installation
### 1οΈβ£ Via CDN *(Quickest Setup)*
Add the following `<link>` tag to your HTML file:
```html
<!-- CSS -->
<link rel="stylesheet" href="https://cdn.stylexui.com/@v1.1.0/css/xui.css" />
<!-- Optional JavaScript (for interactive components) -->
<script src="https://cdn.stylexui.com/@v1.1.0/js/xui.js" defer></script>
```
β
Best for: Prototyping, static HTML projects, minimal dependencies.
### 2οΈβ£ NPM/Yarn *(For Modern Frameworks)*
**Using NPM:**
```sh
npm install @richaadgigi/stylexui
```
**Using Yarn:**
```sh
yarn add @richaadgigi/stylexui
```
Then, import it in your project:
```js
import '@richaadgigi/stylexui/css/xui.min.css';
import { apply } from '@richaadgigi/stylexui';
apply();
```
β
Best for: React, Vue, Angular, scalable projects, and version control.
### 3οΈβ£ Manual Download *(Offline or Custom Hosting)*
1. Download the latest version from the [official website](https://stylexui.com) or the [zip file](https://github.com/richaadgigi/stylexui/archive/refs/tags/v1.1.0.zip).
2. Extract the files and link the CSS in your HTML file:
```html
<!-- CSS -->
<link rel="stylesheet" href="path/to/xui.css" />
<!-- Optional JavaScript (for interactive components) -->
<script src="path/to/xui.js" defer></script>
```
β
Best for: Legacy systems, static projects, or custom hosting.
---
## π§ Getting Started
### Basic HTML Boilerplate
Copy and paste the following template to start using StyleXui:
```html
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My StyleXui Project</title>
<link rel="stylesheet" href="path/to/xui.css">
</head>
<body>
<div class="xui-container">
<h1>Welcome to StyleXui</h1>
<p>Build modern, responsive, and accessible UIs with ease.</p>
<button class="xui-btn xui-btn-primary">Get Started</button>
</div>
<!-- Optional StyleXui JS (for interactive components) -->
<script src="path/to/xui.js"></script>
</body>
</html>
```
Visit our documentation to [learn more](https://doc.clickup.com/9012486388/p/h/8cjz87m-2112/8989912e92c935b/8cjz87m-2112).
---
## π Release Notes
### πΉ Version 1.1.0
β‘οΈ Massive Package Size Reduction: The core font folder (approx. 8MB) has been removed from the distribution. StyleXui now defaults to system fonts, allowing developers to import and optimize custom fonts themselves, resulting in a significantly faster download and build process.
πΌοΈ Asset Cleanup: Included assets and images have been optimized, further reducing the package size.
π¦ New Flexbox Utility Scale (xui-flex-*): Introduced a powerful, simplified scale for the CSS flex shorthand, replacing the need to use separate grow/shrink classes for common use cases.
π Comprehensive Flex Basis Utilities: Added individual utilities for the flex-basis property, giving users full control over the initial size of flex items.
π Modern Gap Utilities (Grid & Flex): Replaced the deprecated grid-gap with the unified gap property, which now works for both Flexbox and CSS Grid layouts.
π Enhanced Container Logic: The core `.xui-container` class has been updated to include max-width at responsive breakpoints and is now centered, implementing the modern standard for fluid, readable content on all screen sizes.
### πΉ Version 1.0.1
β
Fixed: Ripple effect animation now works as expected for better visual feedback.
π§Ό Updated: Dashboard redesigned with a cleaner and neater UI for improved clarity and user experience.
π§© New Utility: Introduced "xui-bdr-rad-none" to easily apply "border-radius: none".
π Dashboard Navigation: Now supports dropdowns for subpages, making multi-level navigation seamless.
π Improved Styling Logic: Dynamic CSS now uses !important to ensure proper style overrides.
### πΉ Version 1.0.0 (Beta)
β
Initial release of StyleXui! π
β
Includes core CSS utilities and components
β
Optional JavaScript for interactive elements
β
Comprehensive documentation
---
## π Contribution
We welcome contributions! Feel free to submit issues or pull requests to help improve StyleXui.
## π License
StyleXui is open-source and distributed under the **MIT License**, ensuring flexibility for both personal and commercial use.
### π Key Terms of MIT License
- β
**Permitted Uses:** Personal, commercial, and enterprise applications. Modification, distribution, and sublicensing allowed.
- β **Restrictions:** No warranty or liability for damages. Must retain copyright notices.
### π Third-Party Dependencies
StyleXui utilizes **normalize.css v3.0.1** to ensure consistent styling across browsers. Normalize.css is also licensed under the MIT License.
For full licensing details, refer to the [MIT License documentation](https://opensource.org/licenses/MIT).
---
## π More Information
π **Official Website:** [StyleXui](https://stylexui.com)
π **Support & Issues:** [GitHub Issues](https://github.com/richaadgigi/stylexui/issues)
β¨ **Enjoy building with StyleXui!** π¨π