kelvinward-libs
v1.0.9
Published
A lightweight React UI component library built with TypeScript and bundled by **tsup**.
Readme
kelvinward-libs
A lightweight React UI component library built with TypeScript and bundled by tsup.
- React components written in TypeScript
- Ships ESM + CJS builds
- Includes
.d.tstype definitions - Includes CSS file for styling
- Easy install via npm
Installation
Using npm:
npm i kelvinward-libsUsing yarn:
yarn add kelvinward-libsUsing pnpm:
pnpm add kelvinward-libsUse components
import { Button } from 'kelvinward-libs';
import 'kelvinward-libs/style.css';
export default function App() {
return (
<div style={{ padding: 24 }}>
<Button onClick={() => alert('Hello!')}>Click me</Button>
</div>
);
}Supported Environments**
This package works with:
- React 18 / 19
- Vite + React
- Next.js
- CRA
