1.0.15 • Published 10 months ago

barrel-ui-kit v1.0.15

Weekly downloads
-
License
-
Repository
github
Last release
10 months ago

Barrel UI Kit

Barrel UI Kit is a reusable, customizable, and easy-to-use UI component library designed for building modern web applications with React. This library provides a set of UI components that can be used out of the box or customized to fit the specific needs of your project.

Integration with BarrelEye Projects

Barrel UI Kit is primarily used in the BarrelEye projects, particularly in the BarrelEye Scan application. You can explore this project online at the BarrelEye Scan Website.

By using Barrel UI Kit, you can maintain consistent UI elements and design patterns across your applications, ensuring a unified user experience in all your BarrelEye-related projects.

Installation

You can install Barrel UI Kit via npm or pnpm:

pnpm

pnpm add barrel-ui-kit

Usage

To use a component from Barrel UI Kit, you simply import the component and include it in your React component.

Example

import React from 'react';
import { Button } from 'barrel-ui-kit';

const App = () => {
  return (
    <div>
      <h1>Hello, World!</h1>
      <Button variant="primary">Click Me</Button>
    </div>
  );
};

export default App;

Components

Button

import { Button } from 'barrel-ui-kit';

<Button variant="primary">Primary Button</Button>
<Button variant="secondary">Secondary Button</Button>
<Button variant="danger">Danger Button</Button>

Input

import { Input } from 'barrel-ui-kit';

<Input placeholder="Enter text here" />

Customization

Barrel UI Kit is designed to be easily customizable. You can override the default styles by passing your own styles or by using CSS-in-JS solutions like styled-components.

import styled from 'styled-components';
import { Button } from 'barrel-ui-kit';

const CustomButton = styled(Button)`
  background-color: #ff5733;
  color: white;
`;

<CustomButton>Custom Button</CustomButton>;
1.0.15

10 months ago

1.0.14

10 months ago

1.0.13

10 months ago

1.0.12

10 months ago

1.0.11

10 months ago

1.0.10

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago