0.2.16 • Published 3 months ago

ds-smart-ui v0.2.16

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Smart UI - React Components

Smart UI is a collection of React components designed to streamline the development of user interfaces. It includes a variety of components such as buttons, forms, and navigation elements, all styled to match modern design standards. This documentation provides an overview of how to install and use Smart UI in your React project.

Installation

To install Smart UI, use npm:

npm install ds-smart-ui

After installation, import the CSS file in your main application file to apply the styles:

import "ds-smart-ui/dist/style.css";

Usage

Once Smart UI is installed and the styles are imported, you can start using the components in your React application.

For example, to use the **Button** component:

import React from "react";
import { Button } from "ds-smart-ui";

function App() {
  return (
    <div>
      <Button variant="contained" color="primary">
        Click me
      </Button>
    </div>
  );
}

export default App;

Lucide Icons

For icons, it is recommended to use Lucide Icons along with Smart UI. You can install Lucide Icons using npm:

npm install lucide-react

Then, you can use Lucide Icons in your **IconButton** component from Smart UI:

import React from "react";
import { IconButton } from "ds-smart-ui";
import { CrossIcon } from "lucide-react";

function App() {
  return (
    <div>
      <IconButton
        iconStart={<CrossIcon />}
        onClick={() => console.log("Button clicked")}
      >
        Click me
      </IconButton>
    </div>
  );
}

export default App;

Project Usage

Smart UI is designed to meet the needs of projects like PT Praisindo Teknologi, providing a reliable set of components for building user interfaces efficiently and effectively.

Changelog

0.1.67 - 2025-02-12

🚀 Added (Design Tokens)

  • Implementasi design tokens untuk mengelola warna, ukuran font, line-height, dan letter-spacing.
  • Menambahkan daftar warna standar dalam variabel badge:

    primary: "",
    secondary: "",
    info: "",
    success: "",
    warning: "",
    danger: "",
    light: "",
    dark: "",
0.2.16

3 months ago

0.2.15

3 months ago

0.2.14

3 months ago

0.2.13

3 months ago

0.2.12

4 months ago

0.2.11

4 months ago

0.2.10

4 months ago

0.2.7

4 months ago

0.2.9

4 months ago

0.2.8

4 months ago

0.1.96

4 months ago

0.1.97

4 months ago

0.1.98

4 months ago

0.1.99

4 months ago

0.1.94

4 months ago

0.1.95

4 months ago

0.2.1

4 months ago

0.2.0

4 months ago

0.1.100

4 months ago

0.2.3

4 months ago

0.2.2

4 months ago

0.2.5

4 months ago

0.2.4

4 months ago

0.1.91

4 months ago

0.1.92

4 months ago

0.1.86

4 months ago

0.1.87

4 months ago

0.1.88

4 months ago

0.1.82

4 months ago

0.1.83

4 months ago

0.1.84

4 months ago

0.1.80

4 months ago

0.1.74

4 months ago

0.1.75

4 months ago

0.1.76

4 months ago

0.1.77

4 months ago

0.1.78

4 months ago

0.1.79

4 months ago

0.1.70

4 months ago

0.1.71

4 months ago

0.1.72

4 months ago

0.1.73

4 months ago

0.1.68

4 months ago

0.1.69

4 months ago

0.1.52

4 months ago

0.1.53

4 months ago

0.1.54

4 months ago

0.1.57

4 months ago

0.1.59

4 months ago

0.1.50

4 months ago

0.1.51

4 months ago

0.1.49

4 months ago

0.1.48

4 months ago

0.1.63

4 months ago

0.1.64

4 months ago

0.1.66

4 months ago

0.1.67

4 months ago

0.1.60

4 months ago

0.1.62

4 months ago

0.1.36

5 months ago

0.1.37

4 months ago

0.1.41

4 months ago

0.1.42

4 months ago

0.1.45

4 months ago

0.1.46

4 months ago

0.1.40

4 months ago

0.1.38

4 months ago

0.1.39

4 months ago

0.1.34

5 months ago

0.1.31

5 months ago

0.1.32

5 months ago

0.1.33

5 months ago

0.1.30

11 months ago

0.1.27

12 months ago

0.1.28

12 months ago

0.1.23

1 year ago

0.1.24

1 year ago

0.1.25

1 year ago

0.1.26

12 months ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.16

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago