8 branches 14 tags
refactor: migrate to ESM and update build pipeline a3f8c12 2 days ago
.github/workflowsci: add automated test workflow3 days ago
srcrefactor: migrate to ESM and update build pipeline2 days ago
teststest: add unit tests for useForm hook5 days ago
docsdocs: update API reference for v3.2last week
.eslintrc.jsonchore: update linting ruleslast week
.gitignorechore: ignore dist and coverage3 weeks ago
LICENSEInitial commit2 months ago
README.mddocs: update installation instructions2 days ago
package.jsonrefactor: migrate to ESM and update build pipeline2 days ago
tsconfig.jsonfeat: add strict TypeScript configlast week
README.md

React Toolkit

A modern, lightweight React component library for building fast, accessible web applications. Built with TypeScript and optimized for tree-shaking.

Installation

npm install @openframework/react-toolkit

Quick Start

import { Button, Modal, useForm } from '@openframework/react-toolkit';

function App() {
  const form = useForm({ name: '', email: '' });

  return (
    <form onSubmit={form.handleSubmit}>
      <Input {...form.field('name')} />
      <Input {...form.field('email')} type="email" />
      <Button variant="primary">Submit</Button>
    </form>
  );
}

Features

  • 30+ accessible UI components
  • Built-in form validation with useForm
  • Dark mode support via CSS variables
  • Tree-shakeable ESM exports
  • Zero runtime dependencies

Documentation

Full documentation is available in the docs/ directory and at react-toolkit.openframework.dev.

License

MIT