A simple React library to improve your typography consistency with a lot of prebuilt styles
The documentation is still under active development, the one currently you are seeing is not completed yet
npm install --save typo-system
import React from "react"
import Typo from "typo-system"
function MyPage() {
return (
<Typo>
<Typo.Title>Page 1</Typo.Title>
<Typo.Text>Welcome to Page 1. This thesis is all about self-driving car technology.</Typo.Text>
</Typo>
)
}
You can, by the way, simply just pass inline title
and text
props to get all things done faster
import React from "react"
import Typo from "typo-system"
function MyPage() {
return <Typo title="Page 1" text="Welcome to Page 1. This thesis is all about self-driving car technology." />
}
MIT © itujono