百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
U

uix-kit

> 前端框架
开源

这是一款基于一些常用库的免费 UI 工具包,用于构建美观的响应式网站,兼容 Bootstrap v5。

391 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

这是一款基于一些常用库的免费 UI 工具包,用于构建美观的响应式网站,兼容 Bootstrap v5。

Make over 120+ components to wear again and again!

Uix Kit is not a framework, just a UI toolkit based on some common libraries for building beautiful responsive website.

Uix Kit isn't a reusable component structure, mostly custom CSS and JavaScript based. Definitely interesting, and if you're developing mostly web content and not applications this is particularly useful. It is a web dev build tool/scaffold that does not depend on any framework. You can import any external libraries/frameworks or native ES Modules for production.

The generated core file in the dist directory can be used separately in any website. Support JS, HTML, and SASS component library automatically packaged. It is used to develop the full-static website (HTML templates or for dynamic language integration).

The demo depends on jQuery (you can completely rewrite the script if needed). And dist DOES NOT bundle any third-party script and style library, all libraries are loaded externally in the HTML file.

Uix Kit is now in Long Term Support (LTS) mode.


  • React Version - Native scaffolding for reference

  • English Documentation
  • 中文版说明文档

Demo

https://xizon.github.io/uix-kit/examples/

GitHub pages can only serve static content, and there is no way to run PHP or get AJAX request on the pages. You need to visit the link below to see some special demos 👇

https://uiux.cc/uix-kit

Table of Contents

  • Getting Started with Videos
  • Why use it
  • File Structures
  • Getting Started
  • HTML Template
  • How to Create a Custom Module? 🔥
  • Contributing
  • Changelog
  • Browser Support
  • Supported development environment
  • Licensing

Getting Started with Videos

https://www.youtube.com/watch?v=aRDY9Cr-1-E

File Structures

…

Why use it

  • dist DOES NOT bundle any third-party script and style library, all libraries are loaded externally in the HTML file.
  • Not a reusable component structure
  • Not a JavaScript framework
  • It is used to build the full-static website (HTML templates or for dynamic language integration)
  • Suitable for developing Visual Interaction websites and WordPress templates
  • W3C standard and SEO
  • Control scope with BEM naming, so the core Uix Kit project is not in conflict with the other projects
  • Automatically generate a table of contents for each module comment of the name
  • Each module consists of SASS / SCSS, JavaScript and HTML files
  • Embedded verification strategy for TypeScript and React. (Such scripts are embedded in the page, not the entire project)
  • Compatible with Bootstrap 5.x (You could also remove Bootstrap's stylesheets)
  • Provides a common web page components and layouts
  • The complete directory of examples in order to develop a responsive website independently without Node.js dev environment
  • The demo depends on jQuery (you can completely rewrite the script if needed)

Getting Started

You will need to have node setup on your machine. That will output the built distributables to ./dist/* and ./examples/*.html.

Step 1. Use NPM (Locate your current directory of project, and enter the following command.) or download the latest version from Github. For nodejs you have to install some dependencies.

bash
$ sudo npm install uix-kit

Or clone the repo to get all source files including build scripts:

bash
$ git clone git://github.com/xizon/uix-kit.git

Step 2. First, using an absolute path into your "uix-kit/" folder directory.

bash
$ cd /{your_directory}/uix-kit

Step 3. Before doing all dev stuff make sure you have Node 10+ installed. After that, run the following code in the main directory to install the node module dependencies.

bash
$ npm install

The current test environment is Node 18+, npm 9+. If dependency installation fails ( Usually it is because you have upgraded your Nodejs version, currently tested to Node 18+ ), maybe the new version of npm will conflict with the old version of npm, please use following command to install dependencies:

bash
$ npm install --legacy-peer-deps

If the installation still fails, please use this method: remove devDependencies in package.json, delete file package-lock.json and reinstall dependencies:

…

Step 4. When you’re ready to deploy to production, create a minified bundle with:

bash
$ npm run build

Using Ctrl + C to stop it.

When you have done, this will spin up a server that can be accessed at http://localhost:8080/examples/

Step 5. To preview the page without compiling and packaging, please run the following command:

bash
$ npm run preview

All pages can be previewed via http://localhost:3000.

But there is no way to run PHP or get AJAX request on the pages. You need to visit the link on your server, or build a server via MAMP. Then visit a similar URL: http://localhost:{port}/uix-kit/examples/

Note:

a) How to use modules?

You could custom modules of what to import in src/components/_app-load.ts and src/components/_app-load-rtl.ts. Because the modules are imported too much, you need to wait at least 5.5 seconds (default value). You can set the compilation wait time in the webpack.config.js according to the imported modules you want.

b) Site Info Configuration

You can update the Placeholders in Templates by modifying the Site Info configuration of package.json. Like this:

json
{
  "author": "UIUX Lab",
  "name": "uix-kit",
  "email": "[email protected]",
  "version": "1.0.0",
  "projectName": "Uix Kit",
  "createdInfo": "UIUX Lab (https://uiux.cc)",
  "projectURL": "https://uiux.cc",
  "description": "A free web kits for fast web design and development, compatible with Bootstrap v5.",
  ...
}

c) ERROR: npm update check failed.

Solution:

bash
$ sudo chown -R $USER:$(id -gn $USER) /Users/{username}/.config

d) ERROR: Node sass version 6.x.x is not compatible with ^ 4.x.x.

Solution:

bash
$ npm install [email protected]

e) If you upgrade the version of Node, please execute the following code:

bash
$ sudo npm install
$ sudo npm rebuild node-sass

HTML Template

1. Static HTML code

xml

	
	Web Site Title
	
	
	
    
	

	

	
	
	

	
	
	

	
	

     
    
    

	

	
	
	

    

	

	
	

 

 
	
	{your_html_codes_here}
	
	
	
	

    

    

    

    

    

    

    

	
	

	

	

2. PSD Grid Templates

You can download the corresponding .PSD grid files.

  • misc/grid/bootstrap3_1170_grid_web.psd (Default Container: 1170px)
  • misc/grid/bootstrap3_1278_grid_web.psd (XL Container: 1278px)
  • misc/grid/bootstrap3_1410_grid_web.psd (XXL Container: 1410px)

How to Create a Custom Module

Assuming you are in your application's root directory and want to create components inside src/components/ as you show above. You can create a new directory and name it demo-module.

👇👇👇

Here’s a sample custom module directory structure, I’ve included some examples of files that would sit inside of each folder:

bash

uix-kit/
├── src/
│   ├── components/
│   │     ├── _app-load.ts
│   │     ├── _app-load-rtl.ts
│   │     └── demo-module/
│   │              ├── scss/*.scss
│   │              ├── scss-rtl/*.scss
│   │              ├── js/*.(js|ts|tsx)
│   │              └── *.html
└──

Step 1. Inside that folder create two sub folders: /scss and /js. If you need to support RTL, create another /scss-rtl.

Step 2. Create a SASS/SCSS file. Go into the src/components/demo-module/scss/ folder and create a file called: _style.scss. Please import global variables or functions. Here's an example:

bash
/* ====================================================== 
    
/* ====================================================== */
@import '@uixkit/core/_global/scss/_variable-and-mixin.scss';

.app-demo {
	font-size: $basic-font-size;
    text-align: left;
}

Step 2-2 (Optional). Alright, so if you need to support RTL. You need create a new SASS/SCSS file. Go into the src/components/demo-module/scss-rtl/ folder and create a file called: _style.scss. Like this:

bash
/* ====================================================== 
    
/* ====================================================== */
@import '@uixkit/core/_global/scss/_variable-and-mixin.scss';

.app-demo {
    text-align: right;
}

Step 3. Create a JS file. Go into the src/components/demo-module/js/ folder and create a file called: index.js. In order to make it work we need to import the global variables or functions in file index.js.

Simultaneously, Now you’re ready to import your Stylesheets to use with this component. Import SASS/SCSS file in src/components/demo-module/js/index.js.

Like this:.

…

Step 4. So far, to dynamically import the module you just created in src/components/_app-load.ts. The simplest version directly imports the default:

bash
import DEMO_MODULE from '@uixkit/core/demo-module/js';

Step 4-2 (Optional). If you need to support RTL, in src/components/_app-load-rtl.ts. like this:

bash
import '@uixkit/core/demo-module/scss-rtl/_style.scss';

These RTL modules do not need JavaScript.

Step 5 (Optional). You could also create an HTML file to run the demo of this module separately, all HTML files will be automatically exported into the directory examples/. The demo code of the HTML file is as follows:

…

Note 💡: You could call a specified module script which is commonly used for callbacks of AJAX request from Asynchronous method. The demo code is here:

bash
import { UixModuleInstance } from '@uixkit/core/_global/js';

if ( UixModuleInstance.DEMO_MODULE ) UixModuleInstance.DEMO_MODULE.pageLoaded();
if ( UixModuleInstance.DEMO_MODULE ) UixModuleInstance.DEMO_MODULE.documentReady($);

Since Uix Kit is not a JavaScript framework, you could use any third-party libraries to build your custom module styles and animation scripts in the most intuitive way.

Contributing

Finding bugs, sending pull requests or improving our docs - any contribution is welcome and highly appreciated. To get started, head over to our contribution guidelines. Thanks!

Changelog

releases

Browser Support

Chrome Firefox Edge IE Safari Opera iOS Android
>= 49 >= 45 >=14 >=11 >= 9 >= 30 >=10 >=4.4

Supported development environment

  • React 18 +
  • TypeScript 4.x.x +
  • Babel 7.x.x +
  • Webpack 5.x.x
  • Express 4.x.x

Licensing

Licensed under the MIT.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptbootstrapbootstrap5csscss3

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架