Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

styled-helpers

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-helpers

Helper components for react built with styled-components

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Styled-helpers

A collection of useful helper components for your react app

Built using styled components

Docs and demo site

Installation

npm install styled-helpers

Usage

import { Block } from 'styled-helpers';

const App = () => (
  <Block>
    <SomeComponent />
  </Block>
);

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: <Block mt={1} mb={1}>...</Block>

const App = () => (
  <Block mt={1}>
    <SomeComponent />
  </Block>
);

Keywords

FAQs

Package last updated on 06 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc