Update Readme
This commit is contained in:
10
Readme.md
10
Readme.md
@@ -12,9 +12,7 @@ Full Pure reactive JS UI +40 components in less than 35 KB!
|
||||
Based in SigPro Core
|
||||
[**Explore the Core Docs →**](https://sigpro.natxocc.com/#/)
|
||||
|
||||
**SigPro UI** is a lightweight, ultra-fast, and reactive component library built for the **SigPro** reactivity core. It provides a set of high-quality, accessible, and themeable UI components with **zero external dependencies** - everything is included.
|
||||
|
||||
**SigPro UI** is a complete, full self-contained UI library in under **35KB gzip** (JS + CSS). 🎉
|
||||
**SigPro UI** is a lightweight (<35KB JS+CSS), ultra-fast, and reactive component library built for the **SigPro** reactivity core. It provides a set of high-quality, accessible, and themeable UI components with **zero external dependencies**
|
||||
|
||||
Unlike heavy frameworks, SigPro UI focuses on a **"Zero-Build"** philosophy, allowing you to build complex reactive interfaces with a functional, declarative syntax that runs natively in the browser.
|
||||
|
||||
@@ -25,7 +23,7 @@ Unlike heavy frameworks, SigPro UI focuses on a **"Zero-Build"** philosophy, all
|
||||
- **Signals-Based Reactivity**: Powered by SigPro for granular DOM updates
|
||||
- **Self-Contained Styling**: Full CSS included - no external frameworks needed
|
||||
- **Built on daisyUI v5**: Modern, utility-first styling out of the box
|
||||
- **Tree Shaking Ready**: ESM imports with `sigpro` as external dependency
|
||||
- **Tree Shaking Ready**: ESM imports
|
||||
- **IIFE All-in-One**: Single script tag for browser usage
|
||||
- **Lightweight**: Minimal footprint with everything bundled
|
||||
|
||||
@@ -139,14 +137,14 @@ mount(App, "#app");
|
||||
Built-in i18n with custom language:
|
||||
|
||||
```javascript
|
||||
import { tt, setLocale } from "sigpro-ui";
|
||||
import { t, setLocale } from "sigpro-ui";
|
||||
|
||||
// Change locale
|
||||
setLocale('en');
|
||||
|
||||
// Use translations
|
||||
Button({}, t('close'));
|
||||
Input({ placeholder: tt('search') });
|
||||
Input({ placeholder: t('search') });
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user