1.1.110 β€’ Published 7 months ago

is-core-ui v1.1.110

Weekly downloads
-
License
ISC
Repository
-
Last release
7 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

7 months ago

1.1.109

7 months ago

1.1.108

7 months ago

1.1.107

7 months ago

1.1.106

7 months ago

1.1.105

7 months ago

1.1.104

7 months ago

1.1.103

7 months ago

1.1.102

7 months ago

1.1.101

7 months ago

1.1.100

7 months ago

1.1.90

7 months ago

1.1.89

7 months ago

1.1.88

7 months ago

1.1.87

7 months ago

1.1.86

7 months ago

1.1.85

7 months ago

1.1.84

7 months ago

1.1.83

7 months ago

1.1.82

7 months ago

1.1.81

7 months ago

1.1.80

7 months ago

1.1.79

7 months ago

1.1.78

7 months ago

1.1.77

7 months ago

1.1.76

7 months ago

1.1.75

7 months ago

1.1.74

7 months ago

1.1.73

7 months ago

1.1.72

8 months ago

1.1.71

8 months ago

1.1.70

8 months ago

1.1.69

8 months ago

1.1.68

8 months ago

1.1.67

8 months ago

1.1.66

8 months ago

1.1.65

8 months ago

1.1.64

8 months ago

1.1.63

8 months ago

1.1.62

8 months ago

1.1.61

8 months ago

1.1.60

8 months ago

1.1.59

8 months ago

1.1.58

8 months ago

1.1.57

8 months ago

1.1.56

8 months ago

1.1.55

8 months ago

1.1.54

8 months ago

1.1.53

8 months ago

1.1.52

8 months ago

1.1.51

8 months ago

1.1.50

8 months ago

1.1.49

8 months ago

1.1.48

8 months ago

1.1.47

8 months ago

1.1.46

8 months ago

1.1.45

8 months ago

1.1.44

8 months ago

1.1.43

8 months ago

1.1.42

8 months ago

1.1.41

8 months ago

1.1.40

8 months ago

1.1.39

9 months ago

1.1.38

9 months ago

1.1.37

9 months ago

1.1.36

9 months ago

1.1.35

9 months ago

1.1.34

9 months ago

1.1.33

10 months ago

1.1.32

10 months ago

1.1.31

10 months ago

1.1.30

10 months ago

1.1.29

10 months ago

1.1.28

10 months ago

1.1.27

10 months ago

1.1.26

10 months ago

1.1.25

10 months ago

1.1.24

10 months ago

1.1.23

10 months ago

1.1.22

10 months ago

1.1.21

10 months ago

1.1.20

10 months ago

1.1.19

10 months ago

1.1.17

10 months ago

1.1.16

10 months ago

1.1.15

10 months ago

1.1.14

10 months ago

1.1.13

10 months ago

1.1.12

10 months ago

1.1.11

10 months ago

1.1.10

10 months ago

1.1.9

10 months ago

1.1.8

10 months ago

1.1.7

10 months ago

1.1.6

10 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago