# duidsystem

> duidSystem is a customizable component library to build faster, beautiful, and more accessible React applications

Latest version **1.0.12** (published 2021-03-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install duidsystem
pnpm add duidsystem
yarn add duidsystem
bun add duidsystem
```

## 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.0.12 |
| Published | 2021-03-02 |
| First published | 2021-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10.0.0 |
| Dependencies | 5 |
| Unpacked size | 272.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Djedou Arnaud AMAN |
| Maintainers | djedou |
| Keywords | react, react-component, duidsystem |

## Links

- npm: https://www.npmjs.com/package/duidsystem
- Repository: https://github.com/djedou/duidsystem
- Homepage: https://djedou.github.io/duidsystem/
- Issues: https://github.com/djedou/duidsystem/issues
- npm.io page: https://npm.io/package/duidsystem

## Dependencies (5)

- [react](https://npm.io/package/react.md) ^17.0.0
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.4.5
- [@material-ui/styles](https://npm.io/package/@material-ui/styles.md) ^4.11.3

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.12 (latest) — 2021-03-02
- 1.0.11 — 2021-03-01
- 1.0.10 — 2021-03-01
- 1.0.9 — 2021-02-12
- 1.0.8 — 2021-02-11
- 1.0.7 — 2021-02-11
- 1.0.6 — 2021-02-06
- 1.0.5 — 2021-02-06
- 1.0.4 — 2021-02-06
- 1.0.3 — 2021-02-06
- 1.0.2 — 2021-02-05

## README

# duidSystem : Djedou UI Design System
  
  __duidSystem__ is a customizable component library to build faster, beautiful, and more accessible React applications.  

## How to install  

`npm install duidsystem`  

## Example

```  javascript

import { Container, Row, Col } from 'duidsystem/layout';

function App() {
	return (
		<Container styles={styles} classes={["sm"/*,"djed"*/]}>
			<Row xs={'auto'} styles={rowStyles} md={3} lg={2} classes={["row_cols_auto"]}>
				<Col md={'auto'} sm={3}>
					Aman
				</Col>
			</Row>
			<Row>
				<Col styles={colStyles} classes={["col_sm"]} sm={8}>sm=8</Col>
				<Col sm={4}>sm=4</Col>
			</Row>
			<Row>
				<Col sm>sm=true</Col>
				<Col sm>sm=true</Col>
				<Col sm>sm=true</Col>
			</Row>
			<Row>
				<Col span="true">span</Col>
				<Col span="true">span</Col>
				<Col span="true">span</Col>
			</Row>
		</Container>
	);
}

const styles = {
    sm: {
      //color: 'red',
      //backgroundColor: 'blue'
    },
    djed: {
      color: 'blue',
      backgroundColor: 'yellow'
    }
};

const rowStyles = {
	row_cols_auto: {
		color: 'blue',
		backgroundColor: 'green'
	}
}

const colStyles = {
	col_sm_8: {
		'@media (min-width: 576px)': {
			display: 'flex',
			color: 'blue',
			backgroundColor: 'green',
			justifyContent: 'center',
			//alignItems: 'center'
		}
	}
}

export default App;

```  
## How to style duidSystem Components  

### I. Modify a predefined class  
```col_sm_8``` is a predefined class of component ```Col```  

```  javascript

import { Container, Row, Col } from 'duidsystem/layout';

function App() {
	return (
		<Container>
			<Row>
				<Col styles={colStyles} classes={["col_sm_8"]}>A predefined class is modified here</Col>
				<Col sm={4}>sm=4</Col>
			</Row>
		</Container>
	);
}

const colStyles = {
	col_sm_8: {
		'@media (min-width: 576px)': {
			display: 'flex',
			color: 'blue',
			backgroundColor: 'green',
			justifyContent: 'center',
		}
	}
}

export default App;

```  

### II. Create a new class for your style  

```  javascript

import { Container, Row, Col } from 'duidsystem/layout';

function App() {
	return (
		<Container styles={styles} classes={["djed"]}>
			<Row>
				<Col md={'auto'} sm={3}>
					Aman
				</Col>
			</Row>
		</Container>
	);
}

const styles = {
    djed: {
      color: 'blue',
      backgroundColor: 'yellow'
    }
}

export default App;

``` 
## Documentation
[duidsystem: Djedou UI Design System](https://djedou.github.io/duidsystem/)

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