1.0.2 • Published 11 months ago

@austinserb/react-zero-ui v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

React Zero UI

React Zero UI is a pre-rendering UI state management library for React apps. It allows you to manage UI state without re-rendering your components.

It's powered by Tailwind v4 and PostCSS.

It's designed to be a zero-config solution for UI state management.

Note

This is a work in progress. It's not fully ready for production.

Install

npm install @austinserb/react-zero-ui

Usage

import { useUI } from '@austinserb/react-zero-ui';
const [theme, setTheme] = useUI('theme', 'light');

//Then use it in your your components with tailwind
<button onClick={() => setTheme('dark')}>
  <div className="theme-light:bg-gray-100 theme-dark:bg-gray-900">
    Toggle Theme
  </div>
</button>
1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago