# styled-ns

> styled-components with namespaces

Latest version **0.1.0** (published 2019-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install styled-ns
pnpm add styled-ns
yarn add styled-ns
bun add styled-ns
```

## 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 | 2019-01-12 |
| First published | 2019-01-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sergey Makarov |
| Maintainers | maxsbelt |
| Keywords | styled-components |

## Links

- npm: https://www.npmjs.com/package/styled-ns
- Repository: https://github.com/maxsbelt/styled-ns
- Homepage: https://github.com/maxsbelt/styled-ns#readme
- Issues: https://github.com/maxsbelt/styled-ns/issues
- npm.io page: https://npm.io/package/styled-ns

## Recent versions

- 0.1.0 (latest) — 2019-01-12

## README

# styled-ns

Patched version of styled-components package that supports namespaces.

## Installation

Install from the NPM repository using `yarn` or `npm`:

```
yarn add styled-ns
```

```
npm install --save styled-ns
```

## Usage

You can use this package exactly the same way as `styled-components` package:

```js
import React from 'react'
import styled from 'styled-ns'

const Wrapper = styled('section')`
  padding: 4em;
  background: papayawhip;
`

const Title = styled('h1')`
  font-size: 1.5em;
  text-align: center;
  color: palevioletred;
`

const Component = () => (
  <Wrapper>
    <Title>Hello World!</Title>
  </Wrapper>
)
```

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