# @seabass-ui/layout

> React Native primitive layout UI to be used in pacific-dev projects.

Latest version **0.1.0** (published 2020-12-05) · EPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install @seabass-ui/layout
pnpm add @seabass-ui/layout
yarn add @seabass-ui/layout
bun add @seabass-ui/layout
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2020-12-05 |
| First published | 2020-12-05 |
| Weekly downloads | 0 |
| License | EPL-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 9.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | ferossgp |
| Keywords | react-native-component, react-component, react-native, ios, android |

## Links

- npm: https://www.npmjs.com/package/@seabass-ui/layout
- Repository: https://github.com/pacific-dev/seabass
- Homepage: https://github.com/pacific-dev/seabass#readme
- Issues: https://github.com/pacific-dev/seabass/issues
- npm.io page: https://npm.io/package/@seabass-ui/layout

## Dependencies (2)

- [@seabass-ui/flexbox](https://npm.io/package/@seabass-ui/flexbox.md) ^0.1.0
- [react-keyed-flatten-children](https://npm.io/package/react-keyed-flatten-children.md) ^1.3.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2020-12-05

## README

# @seabass-ui/layout

Use to create distributed items with a constant space between into a column or a row. 
A `Stack` wraps each children of the stack in a `Box` that handles the spacing.

### Example

```jsx
<Stack space={3} px={2}>
  <Stack space={2} vertical={false}>
    <Placeholder />
    <Placeholder />
    <Placeholder />
  </Stack>
  <Stack space={2} vertical={true}>
    <Placeholder />
    <Placeholder />
    <Placeholder />
  </Stack>
</Stack>
```

### Stack properties

| Prop     | Type    | Description                                                    | Default |
| -------- | ------- | -------------------------------------------------------------- | ------- |
| space    | space   | Space to be added to the top of each children except first one | 0       |
| vertical | bool    | Render children vertically or horizontally                     | true    |

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