# quick-proto-kit

> Simple prototyping with react

Latest version **1.3.1** (published 2018-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install quick-proto-kit
pnpm add quick-proto-kit
yarn add quick-proto-kit
bun add quick-proto-kit
```

## 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.3.1 |
| Published | 2018-09-03 |
| First published | 2018-08-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 253.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | tushar7d |
| Maintainers | tushard |

## Links

- npm: https://www.npmjs.com/package/quick-proto-kit
- Repository: https://github.com/tushar7d/quick-proto-kit
- Homepage: https://github.com/tushar7d/quick-proto-kit#readme
- Issues: https://github.com/tushar7d/quick-proto-kit/issues
- npm.io page: https://npm.io/package/quick-proto-kit

## Dependencies (2)

- [styled-map](https://npm.io/package/styled-map.md) ^3.0.0
- [styled-system](https://npm.io/package/styled-system.md) ^3.0.2

## Recent versions

- 1.3.1 (latest) — 2018-09-03
- 1.3.0 — 2018-09-03
- 1.2.0 — 2018-09-03
- 1.1.1 — 2018-08-31
- 1.1.0 — 2018-08-31
- 1.0.5 — 2018-08-27
- 1.0.4 — 2018-08-27
- 1.0.3 — 2018-08-26
- 1.0.2 — 2018-08-24
- 1.0.1 — 2018-08-24
- 1.0.0 — 2018-08-23
- 0.1.1 — 2018-08-22
- 0.1.0 — 2018-08-21
- 0.0.5 — 2018-08-20
- 0.0.3 — 2018-08-18
- … 2 more at https://npm.io/package/quick-proto-kit/versions

## README

# Quick Prototyping kit

> 

[![NPM](https://img.shields.io/npm/v/kit.svg)](https://www.npmjs.com/package/kit) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Demo

[![ Quick-Proto-Kit](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/r0vr59wjvm?module=%2Fsrc%2FApp.js)

## Documentation

https://quick-proto-kit.gitbook.io/go

## Install

Quick proto Kit is based on styled-compoenents. To use it you must install all of these.

```bash

npm install --save styled-components

npm install --save quick-proto-kit
```

## Usage

```jsx
import React, { Component } from 'react'

import {View, Text, Image, Stack} from 'quick-proto-kit'

class Example extends Component {
  render () {
    return (
      <Stack horizontal mid bg={'#ffffff'} height={'200px'} >
          <View width={'100px'} height={'100px'} bg={'#f5f5f5'} />
          <View width={'100px'} height={'100px'} bg={'#efeff4'} />

      </Stack>

    )
  }
}
```

# Documentation

>

## Stack

### Layout

Property  | Meaning | Syntac
------------ | ------------- | -------------
horizontal | Align all child elements horizontally | ```  <Stack horizontal /> ```
vertical | Align all child elements vertically | ```  <Stack vertical /> ```
center | center all child element horizontaly | ```  <Stack center /> ```
mid | center all child element vertically | ```  <Stack mid /> ```
top | Top Align all child elements  | ```  <Stack top /> ```
bottom | Bottom Align all child elements  | ```  <Stack bottom /> ```
left | Left Align all child elements  | ```  <Stack left /> ```
right | Right Align all child elements  | ```  <Stack right /> ```


### Alignment

Property  | Meaning | Syntac
------------ | ------------- | -------------
center | center all child element horizontaly | ```  <Stack center /> ```
mid | center all child element vertically | ```  <Stack mid /> ```
top | Top Align all child elements  | ```  <Stack top /> ```
bottom | Bottom Align all child elements  | ```  <Stack bottom /> ```
left | Left Align all child elements  | ```  <Stack left /> ```
right | Right Align all child elements  | ```  <Stack right /> ```




## View

### Dimensions

Property  | syntax
------------ | -------------
Height | ```  <View height={'value'} /> ```
Width | ```  <View width={'value'} /> ```


### Colors

Property  | syntax | detail
------------ | ------------- | -------------
Background color | ```  <View bg={'value'} /> ``` | Value: '#ffffff' or 'themeColor' 
Text color | ```  <View color={'value'} /> ``` | Value: '#ffffff' or 'themeColor' 

### Shadow

Property  | syntax | detail
------------ | ------------- | -------------
Shadow | ```  <View boxShadow={'value'} /> ``` | Value: 'themeShadow' 




### Border Radius

Property  |  purpose    |syntax 
------------ | ------------- | -------------
specific | Add a border radius of '10px' | ```  <View borderRadius={'10px'}  /> ```
curved | Add a border radius of 6px | ```  <View curved  /> ```
more-curved | Add a border radius of 12px | ```  <View more-curved  /> ```
round | Add a border radius of 100%, this will make a circle if the view is squre | ```  <View curved  /> ```
default | No border | -

## Text




### Font Size

Parameter (case sensitive) | Value
------------ | -------------
default | 13px
tiny | 11px
xs | 13px
s | 15px
m | 17px
l | 20px
xl | 23px
xxl | 27px
xxxl | 34px
huge | 45px


### Font Weight

Parameter (case sensitive) | Value
------------ | -------------
default | regular
bold | bold
medium | medium
light | light


### Font Align

Parameter (case sensitive) | Value
------------ | -------------
default | left
left | left
right | right
center | center

### Display

Parameter (case sensitive) | Value
------------ | -------------
default | block
inline | inline








## License

MIT © [tushar7d](https://github.com/tushar7d)

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