2.2.8 • Published 4 years ago

@helpscout/fancy v2.2.8

Weekly downloads
96
License
MIT
Repository
github
Last release
4 years ago

❄️ Fancy

npm version Build Status Coverage Status npm version node npm

A simple way to include CSS with React Components.

  • Emotion, under the hood.
  • Write plain ol' CSS. Period.
  • Pre-processing when you need it. Powered by Stylis.
  • Integrate with ease into your existing setup. No fiddling with Webpack required.
  • iFrame support, out-of-the-box!
  • Theming support!
  • Scoping, to integrate into older (more hostile) CSS systems.

🔧 Installation

npm install --save @helpscout/fancy

🕹 Usage

Here's a quick example of how you can compose regular CSS with your React components.

import React from 'react'
import styled from '@helpscout/fancy'

const Button = props => {
  const { children, styles, ...rest } = props

  <button className={styles.Button} {...rest}>
    {children}
  </button>
}

export default styled(Button)`
  background: white;
  border: 1px solid #eee;
`

📘 Documentation

View the docs to get started with Fancy!

💼 Migration

❤️ Credit

Many thanks to the folks who built Emotion and Styled Components.

2.2.8

4 years ago

2.2.7

5 years ago

2.7.0

5 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.4.1

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.6

5 years ago

2.2.5

5 years ago

2.2.5-0

5 years ago

2.2.4

5 years ago

2.2.3

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.2

5 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.1.0-2

6 years ago

2.0.7

6 years ago

2.1.0-1

6 years ago

2.1.0-0

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

2.0.0-1

6 years ago

2.0.0-0

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.7.0

6 years ago

0.6.8

6 years ago

0.6.7

6 years ago

0.6.6

6 years ago

0.6.5

6 years ago

0.6.4

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago