# @barelyreaper/rlayouts

> rlayouts Simple Layout Components for React

Latest version **0.0.3** (published 2021-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @barelyreaper/rlayouts
pnpm add @barelyreaper/rlayouts
yarn add @barelyreaper/rlayouts
bun add @barelyreaper/rlayouts
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2021-02-09 |
| First published | 2021-02-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12 |
| Dependencies | 0 |
| Unpacked size | 197.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Reaper |
| Maintainers | barelyreaper |

## Links

- npm: https://www.npmjs.com/package/@barelyreaper/rlayouts
- Homepage: https://github.com/barelyhuman/rlayouts
- Issues: https://github.com/barelyhuman/rlayouts/issues
- npm.io page: https://npm.io/package/@barelyreaper/rlayouts

## Recent versions

- 0.0.3 (latest) — 2021-02-09
- 0.0.3-dev.3 (beta) — 2021-02-14
- 0.0.3-dev.1 — 2021-02-13
- 0.0.3-dev.2 — 2021-02-13
- 0.0.3-dev.0 — 2021-02-09
- 0.0.2 — 2021-02-09
- 0.0.1 — 2021-02-09

## README

<div align="center">
	<br>
	<br>
	<h1>rlayouts</h1>
	<p>
		<b>Simple Layout Components for React</b>
	</p>
	<br>
	<br>
	<br>
</div>

# Motivation

I copy paste the same set of components for layout in almost every react project that I work on so this is going to act as a base from now. I still prefer copying the original code around to make it easier to modify and fix when needed.

You can find the web code snippets here [reaper.im/collections](https://reaper.im/collections/code)

# Installation

```sh
npm i @barelyreaper/rlayouts
#or
yarn add @barelyreaper/rlayouts
```

# Usage

I'm still writing proper docs, you can use the below type defs to understand the gist.

```ts
declare type IPadding = {
  children: React.ReactNode;
  x: number;
  y: number;
  all: number;
};

declare type ISpacer = {
  inline: boolean;
  x: number;
  y: number;
};
```

# Roadmap

- [x] Padding
- [x] Spacer
- [ ] Row
- [ ] Col
- [ ] Card

# Dev

```sh
npm i
npm run dev
```

# Build

```sh
npm run build
```

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