@zendeskgarden/react-typography
TypeScript icon, indicating that this package has built-in type declarations

9.6.0 • Public • Published

@zendeskgarden/react-typography npm version

This package includes components relating to typography in the Garden Design System.

Installation

npm install @zendeskgarden/react-typography

# Peer Dependencies - Also Required
npm install react react-dom styled-components @zendeskgarden/react-theming

Usage

import { ThemeProvider } from '@zendeskgarden/react-theming';
import { SM } from '@zendeskgarden/react-typography';

/**
 * Place a `ThemeProvider` at the root of your React application
 */
<ThemeProvider>
  <SM>This is some small body text</SM>;
</ThemeProvider>;

/@zendeskgarden/react-typography/

    Package Sidebar

    Install

    npm i @zendeskgarden/react-typography

    Weekly Downloads

    61,758

    Version

    9.6.0

    License

    Apache-2.0

    Unpacked Size

    119 kB

    Total Files

    73

    Last publish

    Collaborators

    • zendesk-garden