UNPKG

react-landing-page

Version:

[![Demo](https://user-images.githubusercontent.com/2906365/43375514-94cfb9ae-9383-11e8-9489-cffe5212fd2e.png)](https://hermanya.github.io/react-landing-page/)

111 lines (82 loc) β€’ 3.19 kB
[![Demo](https://user-images.githubusercontent.com/2906365/43375514-94cfb9ae-9383-11e8-9489-cffe5212fd2e.png)](https://hermanya.github.io/react-landing-page/) # React Landing Page React UI component library for building Landing Pages. [![Build Status][badge]][travis] [![Coverage][coverage-badge]][coverage] [![Downloads][downloads-badge]][npm] [![Version][version-badge]][npm] [badge]: https://img.shields.io/travis/Hermanya/react-landing-page.svg?style=flat-square [travis]: https://travis-ci.org/Hermanya/react-landing-page [coverage-badge]: https://img.shields.io/codecov/c/github/Hermanya/react-landing-page.svg?style=flat-square [coverage]: https://codecov.io/github/Hermanya/react-landing-page [downloads-badge]: https://img.shields.io/npm/dw/react-landing-page.svg?style=flat-square [version-badge]: https://img.shields.io/npm/v/react-landing-page.svg?style=flat-square [npm]: https://npmjs.com/package/react-landing-page ```sh npm i react-landing-page@next # for best dev experience install and use rebass npm i rebass@next ``` [>> SEE DEMO <<](https://hermanya.github.io/react-landing-page/) React Landing Page is a set of highly-composable React components for building advanced landing pages. It is built using Rebass, a library of UI primitives. Based upon a configurable design system, Rebassβ€˜s props API makes building consistent, responsive web apps simpler and faster. ## Getting Started ```jsx import React from 'react' import { Provider, Heading, Subhead } from 'rebass' import { Hero, CallToAction, ScrollDownIndicator } from 'react-landing-page' const App = props => ( <Provider> <Hero color="black" bg="white" backgroundImage="https://source.unsplash.com/jxaj-UrzQbc/1600x900" > <Heading>Name of your app</Heading> <Subhead>a couple more words</Subhead> <CallToAction href="/getting-started" mt={3}>Get Started</CallToAction> <ScrollDownIndicator/> </Hero> </Provider> ) ``` To use Rebass with [emotion][emotion], import from `rebass/emotion`: ```js import * as Rebass from 'rebass/emotion' ``` ## Features 1. πŸ‘‹ Hero 2. πŸ”₯ Features 3. βœ… Checklist 4. πŸ’Ό Company Logos 5. πŸ™Žβ€ Testimony 6. πŸ’³ Pricing 7. πŸ“£ Call To Action 8. πŸ“© Sign Up 9. πŸ‘©β€πŸ’Ό Team ## Documentation - [Getting Started](https://hermanya.github.io/react-landing-page/getting-started) - [Theming](https://hermanya.github.io/react-landing-page/theming) - [Components](https://hermanya.github.io/react-landing-page/components) - [Server-Side Rendering](https://hermanya.github.io/react-landing-page/server-side-rendering) ## CodeSandbox Try it out: https://codesandbox.io/s/github/hermanya/react-landing-page/tree/master/examples/sandbox ### Related - [rebass][rebass] - [styled-system][system] - [grid-styled][gs] - [styled-components][sc] - [emotion][emotion] [rebass]: https://github.com/jxnblk/rebass [system]: https://github.com/jxnblk/styled-system [gs]: https://github.com/jxnblk/grid-styled [sc]: https://github.com/styled-components/styled-components [emotion]: https://github.com/emotion-js/emotion --- [Contributing](.github/CONTRIBUTING.md) | [MIT License](.github/LICENSE.md)