A modern React component library designed for building elegant and efficient user interfaces. It provides rich UI components, practical Hooks, API utilities, and an icon system to help developers quickly build professional applications.
- π¨ Beautiful Design - Following modern design principles, components are both aesthetic and user-friendly
- π¦ Ready to Use - No complex configuration required, works right out of the box
- π οΈ Highly Customizable - Supports theme customization, style overrides, and feature extensions
- π Comprehensive Documentation - Complete documentation with example code
- π§ TypeScript Support - Full type definitions for excellent developer experience
- π§© Modular Architecture - Import only what you need to reduce bundle size
- π Actively Maintained - Regular updates to ensure compatibility and security
LynKit is built with:
- React - Leveraging the latest React features including Hooks and Context
- TypeScript - Complete type definitions for enhanced code quality
- Vite - Fast build tooling for development and production
- Turborepo - Efficient monorepo management
# Using npm
npm install @lynkit/ui @lynkit/hooks @lynkit/icons @lynkit/api
# Using yarn
yarn add @lynkit/ui @lynkit/hooks @lynkit/icons @lynkit/api
# Using pnpm
pnpm add @lynkit/ui @lynkit/hooks @lynkit/icons @lynkit/apiYou can also install individual packages:
npm install @lynkit/ui # UI components only
npm install @lynkit/hooks # React hooks only
npm install @lynkit/api # API utilities only
npm install @lynkit/icons # Icons onlyimport { Button } from '@lynkit/ui';
import { useSetState } from '@lynkit/hooks';
import { Iconhome } from '@lynkit/icons';
function App() {
const [state, setState] = useSetState({
count: 0,
loading: false,
});
const handleClick = () => {
setState({ loading: true });
setTimeout(() => {
setState({
count: state.count + 1,
loading: false,
});
}, 1000);
};
return (
<div>
<h1>Counter: {state.count}</h1>
<Button type="primary" loading={state.loading} onClick={handleClick}>
<Iconhome /> Increment
</Button>
</div>
);
}LynKit uses modular design - import only what you need:
// Import specific components
import { Button, Input } from '@lynkit/ui';
import { useSetState, useInterval } from '@lynkit/hooks';
import { debounce, throttle } from '@lynkit/api';
import { Iconhome, Iconsearch } from '@lynkit/icons';| Package | Description | Version |
|---|---|---|
| @lynkit/ui | React UI Components | |
| @lynkit/hooks | React Hooks Collection | |
| @lynkit/api | API Utilities | |
| @lynkit/icons | 1000+ SVG Icons |
- React >= 16.8.0 (Hooks support required)
- Node.js >= 18
LynKit supports all modern browsers:
| Browser | Version |
|---|---|
| Edge | >= 91 |
| Firefox | >= 78 |
| Chrome | >= 90 |
| Safari | >= 14 |
| iOS Safari | >= 14.4 |
| Resource | Description |
|---|---|
| Online Docs | Complete API documentation and examples |
| Architecture Guide | Monorepo architecture and configuration |
| Monorepo Tutorial | Deep dive into monorepo concepts |
| Package | Links |
|---|---|
| @lynkit/ui | README Β· Development Guide |
| @lynkit/hooks | README |
| @lynkit/api | README |
| @lynkit/icons | README |
We welcome contributions! Please see our Contributing Guide for details.
LynKit is MIT licensed.