1.1.110 β€’ Published 5 months ago

is-core-ui v1.1.110

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

UI Library

A reusable React component library built with TypeScript, Storybook, and TailwindCSS. This library provides a collection of atomic components designed for easy integration into your projects.

Features

-	πŸš€ Reusable Components: Pre-built, customizable atomic components for faster development.
-	πŸ› οΈ TypeScript Support: Fully typed components for type-safe usage.
-	🎨 TailwindCSS Integration: Styled with TailwindCSS for easy theme customization.
-	πŸ“š Storybook: Includes a Storybook for interactive component demos.
-	🌟 Lightweight: Built to optimize performance and reduce bundle size.

Installation

To use the components in your project, first install the library via npm or yarn:

# Install with npm
npm install is-core-ui

# Install with yarn
yarn add is-core-ui

Usage

Import and use components in your project: Example: Using the Button Component

import React from 'react';
import { Button, ButtonType, SIZE } from 'ui-library';

const App = () => {
  return (
    <Button
      type={ButtonType.Primary}
      size={SIZE.S}
      text="Click Me"
      onClick={() => alert('Button Clicked!')}
    />
  );
};

export default App;

TailwindCSS Configuration

Ensure your project has TailwindCSS installed and configured. If you’re not using TailwindCSS, you can override styles using the provided class names.

Components

Atoms

1.	Button
-	Props:
-	text: Text displayed on the button.
-	type: Button style, e.g., primary, secondary.
-	size: Button size, e.g., sm, lg.
-	icon: Optional icon to display.
-	onClick: Click event handler.

Example:

<Button
  type={ButtonType.Primary}
  text="Submit"
  onClick={() => alert('Submitted!')}
/>

Storybook

Explore interactive demos of all components in the library using Storybook:

npm run storybook
1.1.110

5 months ago

1.1.109

5 months ago

1.1.108

5 months ago

1.1.107

5 months ago

1.1.106

5 months ago

1.1.105

5 months ago

1.1.104

5 months ago

1.1.103

5 months ago

1.1.102

5 months ago

1.1.101

5 months ago

1.1.100

5 months ago

1.1.90

5 months ago

1.1.89

5 months ago

1.1.88

5 months ago

1.1.87

5 months ago

1.1.86

5 months ago

1.1.85

5 months ago

1.1.84

5 months ago

1.1.83

5 months ago

1.1.82

5 months ago

1.1.81

5 months ago

1.1.80

5 months ago

1.1.79

5 months ago

1.1.78

5 months ago

1.1.77

5 months ago

1.1.76

5 months ago

1.1.75

5 months ago

1.1.74

5 months ago

1.1.73

5 months ago

1.1.72

5 months ago

1.1.71

5 months ago

1.1.70

5 months ago

1.1.69

5 months ago

1.1.68

5 months ago

1.1.67

5 months ago

1.1.66

5 months ago

1.1.65

5 months ago

1.1.64

5 months ago

1.1.63

5 months ago

1.1.62

5 months ago

1.1.61

5 months ago

1.1.60

6 months ago

1.1.59

6 months ago

1.1.58

6 months ago

1.1.57

6 months ago

1.1.56

6 months ago

1.1.55

6 months ago

1.1.54

6 months ago

1.1.53

6 months ago

1.1.52

6 months ago

1.1.51

6 months ago

1.1.50

6 months ago

1.1.49

6 months ago

1.1.48

6 months ago

1.1.47

6 months ago

1.1.46

6 months ago

1.1.45

6 months ago

1.1.44

6 months ago

1.1.43

6 months ago

1.1.42

6 months ago

1.1.41

6 months ago

1.1.40

6 months ago

1.1.39

7 months ago

1.1.38

7 months ago

1.1.37

7 months ago

1.1.36

7 months ago

1.1.35

7 months ago

1.1.34

7 months ago

1.1.33

8 months ago

1.1.32

8 months ago

1.1.31

8 months ago

1.1.30

8 months ago

1.1.29

8 months ago

1.1.28

8 months ago

1.1.27

8 months ago

1.1.26

8 months ago

1.1.25

8 months ago

1.1.24

8 months ago

1.1.23

8 months ago

1.1.22

8 months ago

1.1.21

8 months ago

1.1.20

8 months ago

1.1.19

8 months ago

1.1.17

8 months ago

1.1.16

8 months ago

1.1.15

8 months ago

1.1.14

8 months ago

1.1.13

8 months ago

1.1.12

8 months ago

1.1.11

8 months ago

1.1.10

8 months ago

1.1.9

8 months ago

1.1.8

8 months ago

1.1.7

8 months ago

1.1.6

8 months ago

1.1.5

8 months ago

1.1.4

8 months ago

1.1.3

8 months ago

1.1.2

8 months ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.0

8 months ago