1.8.5 • Published 4 months ago
cc-hun-ui v1.8.5
Component Library
This is a component library built with React and Storybook. It includes various reusable UI components.
Table of Contents
Installation
To install the component library, run:
npm i cc-hun-ui
Usage
To use the components in your project, import them as follows:
import { Button } from './src/components/Button/Button';
import { Loader } from './src/components/Loader/Loader';
import { Navbar } from './src/components/NavBar/Navbar';
import { LoginPage } from './src/components/LoginPage/LoginPage';
// Example usage
const App = () => (
<div>
<Navbar />
// pass in args for the components that need it
</div>
);
export default App;
Components
- Button: A customizable button component.
- Card: A card component with a title, description, and button.
- Loader: A loader component to indicate loading state.
- LoginPage: A login page component with customizable form elements.
- Navbar: A navigation bar component with customizable links and icons.
- Separator: A separator that can have a text too, mainly for the Settings Sidebar but for anything really.
- File input: An elegant looking input for files.
- Switch: Smooth Switch component with customizable colors
- NavBarButton: A pre-made component to add costumized children to Navbar, which can have the same look in the Navbar as others
1.8.5
4 months ago
1.8.4
5 months ago
1.8.3
5 months ago
1.8.2
7 months ago
1.8.1
7 months ago
1.8.0
7 months ago
1.7.3
7 months ago
1.7.2
7 months ago
1.7.1
7 months ago
1.7.0
7 months ago
1.2.19
8 months ago
1.6.1
8 months ago
1.6.0
8 months ago
1.2.20
8 months ago
1.2.23
8 months ago
1.2.24
8 months ago
1.2.21
8 months ago
1.2.22
8 months ago
1.2.18
8 months ago
1.2.17
8 months ago
1.2.13
8 months ago
1.2.16
8 months ago
1.2.14
8 months ago
1.2.15
8 months ago
1.2.12
8 months ago
1.2.11
8 months ago
1.2.10
9 months ago
1.2.9
9 months ago
1.2.8
9 months ago
1.2.7
9 months ago
1.2.6
9 months ago
1.2.5
9 months ago
1.2.4
9 months ago
1.2.3
9 months ago
1.2.2
9 months ago
1.2.1
9 months ago