1.8.5 • Published 9 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-uiUsage
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
9 months ago
1.8.4
10 months ago
1.8.3
10 months ago
1.8.2
12 months ago
1.8.1
12 months ago
1.8.0
12 months ago
1.7.3
1 year ago
1.7.2
1 year ago
1.7.1
1 year ago
1.7.0
1 year ago
1.2.19
1 year ago
1.6.1
1 year ago
1.6.0
1 year ago
1.2.20
1 year ago
1.2.23
1 year ago
1.2.24
1 year ago
1.2.21
1 year ago
1.2.22
1 year ago
1.2.18
1 year ago
1.2.17
1 year ago
1.2.13
1 year ago
1.2.16
1 year ago
1.2.14
1 year ago
1.2.15
1 year ago
1.2.12
1 year ago
1.2.11
1 year ago
1.2.10
1 year ago
1.2.9
1 year ago
1.2.8
1 year ago
1.2.7
1 year ago
1.2.6
1 year ago
1.2.5
1 year ago
1.2.4
1 year ago
1.2.3
1 year ago
1.2.2
1 year ago
1.2.1
1 year ago