typor
v2.0.0-beta.6
Published
The React type tester for fonts.
Readme
Typor
The React type tester for fonts.
Installation
# Now, install the type tester
npm install --save https://github.com/kennethormandy/typorIf you’re using npm@7 (the Node.js v15 default) or later, peer dependencies will be automatically installed for you. Otherwise, you’ll need to manually install them yourself:
# Manually install the peerDependencies you aren’t already using
npm install --save react draft-jsThis makes it easier for you to manage your own version of React and Draft.js, if needed.
Example
import { TypeTester } from 'typor'
// Include minimum required Draft.js and Typor styles
import 'draft-js/dist/Draft.css'
import 'typor/dist/TypeTester.css'
// …
return (
<TypeTester
value="The quick brown fox jumps…"
textAlignment="center"
scale
caret
/>
)Props
Contributing
To learn more about running the project locally, read the Contributing guide.
In Use
Earlier and current versions of this project are used in:
- escafina.losttype.com
- tofino.losttype.com v1
- regina-black.losttype.com
- ddc-hardware.losttype.com
- boomville.losttype.com
- kennethormandy.com
- tofino.losttype.com v2
- faction.losttype.com
- mort-modern.losttype.com
- protipo.typetogether.com
- prospectus.losttype.com
- alannamunro.com
Copyright
Copyright © Kenneth Ormandy Inc. 2016–2021
