# @dairocantillo/react-system-design

> Esta librería está realizada con React versión 18.2.0 [React](https://es.reactjs.org/).

Latest version **1.9.0** (published 2023-03-31) · 0 weekly downloads

## Install

```sh
npm install @dairocantillo/react-system-design
pnpm add @dairocantillo/react-system-design
yarn add @dairocantillo/react-system-design
bun add @dairocantillo/react-system-design
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.9.0 |
| Published | 2023-03-31 |
| First published | 2023-03-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 500 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dairocantillo |

## Links

- npm: https://www.npmjs.com/package/@dairocantillo/react-system-design
- npm.io page: https://npm.io/package/@dairocantillo/react-system-design

## Dependencies (1)

- [resolve-url-loader](https://npm.io/package/resolve-url-loader.md) ^5.0.0

## Recent versions

- 1.9.0 (latest) — 2023-03-31
- 1.7.0 — 2023-03-31
- 1.6.0 — 2023-03-31
- 1.5.0 — 2023-03-31
- 1.4.0 — 2023-03-31
- 1.3.0 — 2023-03-23
- 1.2.0 — 2023-03-23
- 1.1.9 — 2023-03-23
- 1.1.8 — 2023-03-23
- 1.1.7 — 2023-03-23
- 1.1.6 — 2023-03-23
- 1.1.5 — 2023-03-23
- 1.1.4 — 2023-03-23
- 1.1.3 — 2023-03-23
- 1.1.2 — 2023-03-23
- … 12 more at https://npm.io/package/@dairocantillo/react-system-design/versions

## README

## Librería de componentes 🚀

Esta librería está realizada con React versión 18.2.0 [React](https://es.reactjs.org/).

Aquí podrás encontrar los componentes reutilizables, testeados , que necesites para realizar proyectos retadores.

Los componentes están basados en un **Design System (UI Kit)**

## Como usar los componentes

# Componentes:

## Button Component

Este componente permite tener un boton personalizado.

```
import logo from "/logo.svg";
import { Button } from "@dairocantillo/react-system-design";
import "./App.css";

function App() {
  return (
    <div className="App">
      <Button title="Button" icon={logo} />
    </div>
  );
}

export default App;
```
Revisa su funcionamiento en [storybook](https://pragmasdkreact.netlify.app/?path=/docs/iupragma-button--primary).

#### Valores de entrada

- **customClass: string**: Clase CSS personalizada para el botón.
- **disabled: boolean**: Indica si el botón está deshabilitado.
- **title: string**: Te permite darle un nombre al botón.
- **theme: string**: Tema del botón (dark, light, dark-white).
- **type: string**: Tipo del botón (primary, secondary, tertiary).
- **size: string**: Tamaño del botón (medium, small).
- **icon: string**: Url del icono que va dentro del botón.
- **altIcon: string**: etiqueta alt para el img que contiene el icono (solo es necesario si se le está pasando un icon.
- **iconType: string**: Posición del icono que acompaña el botón (solo es necesario si se le está pasando un icon).
- **font : string**: Te permite darle una fuente a las letras, puedes enviar la fuente que deseas(**Poppins-Regular, Poppins-SemiBold, Poppins-Bold,etc**).
- | Prop        | Default      | Tipo    |
  | ----------- | ------------ | ------- |
  | customClass | ""           | string  |
  | disabled    | false        | boolean |
  | title       | undefined    | string  |
  | theme       | "dark"       | string  |
  | type        | "primary"    | string  |
  | size        | "medium"     | string  |
  | icon        | undefined    | string  |
  | altIcon     | "ButtonIcon" | string  |
  | iconType    | "right"      | string  |
  | font        | ""           | string  |

#### Valores de salida

- **onClick**:Evento emitido por el componente.

---
_Source: https://npm.io/package/@dairocantillo/react-system-design · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
