This component is based on @cognitom excellent paper-css paper-printing hack
Recently, we say "front-end" every day. Then why don't we make the printing documents in front-end? We believe we can make it perfectly without back-end. Paper React is just a small component, but it helps us create them in browser easily.
- Installation
- Guides
- Why Paper React?
- License
$ yarn add paper-print-react
# npm install paper-print-reactimport paper-print-react like this:
import { A4 } from 'paper-print-react';How to use component in aplication
<A4>
All content that can be placed on A4 page
</A4>// Choose A3, A4 or A5 importing relative component
import { A3, A4, A5 } from 'paper-print-react';
<A3>
All content that can be placed on A3 page
</A3>All available page sizes is listed below:
- A5, A5 landscape
- A4, A4 landscape
- A3, A3 landscape
<A4 landscape><Page/>Props background
<NoPrint>This content will not print thanks to the Notprinted.</NoPrint>See also the examples for detail.
You can check the design and layout before printing. See the browser like when you build a web page.
This example could be printed like this.
Open an issue!
- Fork it paper-print-react
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
The MIT License. Read LICENSE for further information.

