Package Exports
- kovax-react
- kovax-react/components/Button
- kovax-react/components/Input
- kovax-react/components/Layout
Readme
π§© Kovax UI β React Component Library
β¨ Overview
Kovax UI is a modern, lightweight React component library designed for performance, scalability, and easy customization.
Built with TypeScript, React, and Vite, it provides flexible UI primitives ready for production.
Currently includes:
- π§± Layout
- β Box β universal layout container for building flexible UI.
- β Flex β low-level flexbox container for precise layout control.
- β Grid β CSS Grid container for two-dimensional layouts.
- β Stack (HStack / VStack) β powerful flex layout primitives.
- β Center β flex container for perfect content centering.
- β Container β content wrapper with max-width constraints.
- β AspectRatio β responsive container for maintaining content proportions.
- β Separator β visual divider for content separation.
- β Bleed β layout component for breaking out of parent containers.
- β VisuallyHidden β accessibility utility for visually hiding content while keeping it available to screen readers.
- β Sticky β layout component for creating elements that stay fixed within the viewport while scrolling.
π§Ύ Forms
- β Input β customizable, themeable, and fully typed.
- β Form β unified color, size, shadow, and transition system.
π Buttons
- β Button β customizable, themeable, and fully typed.
π¨ Foundation
- β Design Tokens β colors, sizes, shadows, transitions.
Form
π Coming soon:
Datepicker,Select,Modal,Switch,Tabs, and more!
π¦ Installation
1οΈβ£ From npm
npm install kovax-react
# or
yarn add kovax-reactβ‘ Usage Example
import {
Box,
VStack,
HStack,
Button,
Input,
Form,
FormLabel,
Heading,
Text,
} from "kovax-react";
export default function App() {
return (
<Box
p={32}
backgroundColor="#f8f9fa"
borderRadius={16}
maxW="480px"
m="40px auto"
shadow="md"
>
<VStack gap={24}>
<Heading size="xl">Sign In</Heading>
<Form>
<VStack gap={16}>
<FormLabel>Email</FormLabel>
<Input type="email" placeholder="Enter your email" />
<FormLabel>Password</FormLabel>
<Input type="password" placeholder="Enter password" />
</VStack>
<HStack justify="flex-end" gap={12} mt={24}>
<Button variant="outline">Cancel</Button>
<Button variant="primary">Login</Button>
</HStack>
</Form>
<Text align="center" color="gray.600">
Donβt have an account? <a href="#">Sign up</a>
</Text>
</VStack>
</Box>
);
}π§ Features
π Full TypeScript support
π¨ Easy theming and customization
βοΈ Minimal dependencies
π§± Production-ready base UI components
π Built with Vite + Tsup for speed
π Well-structured documentation in Markdown
π Tech Stack
React 18+
TypeScript 5+
Vite
Tsup for builds
π Documentation
| Component | Description | Link |
|---|---|---|
| π¨ Tokens | Base design tokens (colors, shadows, transitions) | View β |
| π Button | Configurable, themeable button | View β |
| β¨οΈ Input | Themed input field with masks and states | View β |
| π§Ύ Form | Form container with consistent spacing and validation | View β |
| π¦ Box | Universal layout container | View β |
| π Stack (HStack / VStack) | Flexible layout stacks with spacing & alignment | View β |
π Quick Links
π€ Contribution & Community
We welcome developers from all over the world to contribute to Kovax UI π‘ There are plenty of exciting ideas and upcoming features, including:
Advanced animations
Dark theme
Composable components (Form, Modal, Dropdown)
I*nteractive documentation & live playground
If youβd like to contribute:
Fork this repository
Create a new branch
Commit your changes
Open a Pull Request
Your contribution will be reviewed and merged after discussion.
All contributors will be featured in the Contributors list β€οΈ
π Development
Run in development mode:
npm install
npm run devBuild the library:
npm run buildPublish a new version:
npm run releaseπ License
This project is licensed under the MIT License β free to use, modify, and distribute for personal and commercial purposes.
By contributing to this repository, you agree that your contributions will be licensed under the same MIT License.
π License file: LICENSE
π Stay tuned
Kovax UI is actively maintained and constantly evolving. New components, better design systems, and advanced tools are coming soon!