# @pongo-ui/react-text

> A Text control that standardizes font styling across a webpage.

Latest version **0.0.18** (published 2022-03-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pongo-ui/react-text
pnpm add @pongo-ui/react-text
yarn add @pongo-ui/react-text
bun add @pongo-ui/react-text
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.18 |
| Published | 2022-03-25 |
| First published | 2022-03-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 175.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | pongobuild, czearing |

## Links

- npm: https://www.npmjs.com/package/@pongo-ui/react-text
- Repository: https://github.com/PongoAI/pongo-ui
- Homepage: https://github.com/PongoAI/pongo-ui#readme
- Issues: https://github.com/PongoAI/pongo-ui/issues
- npm.io page: https://npm.io/package/@pongo-ui/react-text

## Dependencies (3)

- [@griffel/react](https://npm.io/package/@griffel/react.md) ^1.0.0
- [@pongo-ui/react-theme](https://npm.io/package/@pongo-ui/react-theme.md) ^0.0.13
- [@fluentui/react-utilities](https://npm.io/package/@fluentui/react-utilities.md) ^9.0.0-rc.5

## Recent versions

- 0.0.18 (latest) — 2022-03-25
- 0.0.17 — 2022-03-24
- 0.0.16 — 2022-03-20
- 0.0.15 — 2022-03-20
- 0.0.14 — 2022-03-19
- 0.0.13 — 2022-03-18
- 0.0.12 — 2022-03-17
- 0.0.11 — 2022-03-15
- 0.0.10 — 2022-03-15
- 0.0.9 — 2022-03-13
- 0.0.8 — 2022-03-12
- 0.0.7 — 2022-03-12
- 0.0.6 — 2022-03-08
- 0.0.5 — 2022-03-04
- 0.0.4 — 2022-03-03
- … 3 more at https://npm.io/package/@pongo-ui/react-text/versions

## README

# Text

The Text control standardizes font styling across a webpage.

## Use

1. Install the @pongo-ui/react-text component.

Using NPM

```
npm install @pongo-ui/react-text
```

Using Yarn

```
yarn add @pongo-ui/react-text
```

2. Install the @pongo-ui/react-provider and our theme tokens from @pongo-ui/react-theme

3. Set up the provider in your app:

```jsx
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
```

4. Integrate the Link component.

```jsx
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
import { Text } from '@pongo-ui/react-link'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Text>Hello World</Text>
    <Provider>
  )
}
```

## API

To learn more about the Text API take a look at the [Text Interface](src/components/Text/Text.types.ts) file.

---
_Source: https://npm.io/package/@pongo-ui/react-text · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
