Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bnhovde/styled-helpers

A collection of useful helper components for your react app
https://github.com/bnhovde/styled-helpers

css react styled-components ui ui-library

Last synced: 25 days ago
JSON representation

A collection of useful helper components for your react app

Awesome Lists containing this project

README

        

# Styled-helpers

A collection of useful helper components for your react app

> Built using styled components

[Docs and demo site](https://bnhovde.github.io/styled-helpers/)

### Installation

```sh
npm install styled-helpers
```

### Usage
```jsx
import { Block } from 'styled-helpers';

const App = () => (



);
```

### Components

The following components are included:

#### Block

The component adds global spacing to contents, use this everywhere you need margin or padding instead of adding padding to elements (where you can)

> All blocks will have left/right padding by default unless 'full' is used.

Usage: `...`

```jsx
const App = () => (



);
```