@goatnotes/goatui
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

goatui

Typography

The typography package contiains a number of bases classes, from which other components are built on-top.

The first key component the typography package exposes is the AutoResizer class, which is meant to be rendered inside another text-component (i.e. a h1 or a p). Semantically it is a span, however, the implementation is such that the span will automatically adjust it's font-size between a maximum and minimum font-sze based on the screen width.

Then comes a class of components which effectively wrap the AutoResizer: Heading and Paragrap', which are exactly what they sound like, but they implement the auto-resize feature themselves.

Readme

Keywords

none

Package Sidebar

Install

npm i @goatnotes/goatui

Weekly Downloads

1

Version

0.1.2

License

ISC

Unpacked Size

41.2 kB

Total Files

26

Last publish

Collaborators

  • benrnewsome