Skip to content

v-poc/rui-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1ae917d Β· Mar 9, 2025
Aug 30, 2024
Dec 7, 2024
Oct 17, 2022
Dec 7, 2024
Jul 4, 2022
Jan 18, 2025
Mar 9, 2025
Mar 9, 2025
Dec 7, 2024
Nov 12, 2023
Jul 5, 2022
Aug 27, 2024

Repository files navigation

rui-next (aka RUI.next)

npm docs & demos react vite

Yet another lightweight and Vite-powered Mobile web UI components based on React hooks and Vite 6.

Overview

This is just one kind of playground to dev react-hooks based UI components based on rspress. Thanks to rspress that could support React docs+demos well.

  • πŸ“¦ Out of the box - focus on component development and documentation
  • πŸ§‘β€πŸ’» Developer Friendly - built-in syntax highlighting, embedding React components seamlessly
  • ⚑️ Lightweight and Fast - lighter page weight, instant reloading (lightning-fast HMR) powered by Vite, faster dev server start, hot updates and build

Preview

Try QR code playground to scan to access the examples on mobile/tablet device.

react-hooks docs+demos playground based on vite.

Status

  • More UI components WIP based on React hooks.

Project setup

Install dependencies (use package manager: pnpm)

$ pnpm i

Start the dev server for docs-dev

$ pnpm start

Build UI library

$ pnpm run build-lib

Library Mode output info

vite v6.0.7 building for production...
βœ“ 179 modules transformed.
dist/rui-next.css      39.00 kB β”‚ gzip:  7.69 kB
dist/rui-next.es.js   233.38 kB β”‚ gzip: 69.40 kB
dist/rui-next.umd.js  153.69 kB β”‚ gzip: 56.91 kB
βœ“ built in 720ms

Build documentation (docs+demos)

$ pnpm run build-docs

Customize configuration

About vite, please check Configuration Reference - vite.

License

license

MIT License