Garden 9 is now available.
The website has been updated to the latest major version. View previous versions
Skip to main content
Design
Components
Patterns
    • Introduction
      • Overview
    • Foundations
      • Bedrock CSS
      • Design tokens
      • Containers
      • Theming
      • Versions
    • Components
      • Accordion
      • Anchor
      • Avatar
      • Breadcrumbs
      • Buttons
      • Chrome
      • Code block
      • Color picker
      • Color swatch
      • Date picker
      • Draggable
      • Drawer
      • Forms
      • Grid
      • Loaders
      • Menu
      • Modal
      • Notification
      • Pagination
      • Pane
      • Sheet
      • Status indicator
      • Stepper
      • Table
      • Tabs
      • Tags
      • Tiles
      • Timeline
      • Tooltip
      • Tooltip dialog
      • Typography
        • Code
        • Lists
        • Paragraph
        • Span
        • Typography
      • Well
    Table of Contents
    • How to use it
      • Default
      • Size
    • Configuration
    • API
      • LG
      • MD
      • Paragraph
      • SM

    Paragraph

    Use Paragraph to render blocks of text with Garden styling.


    Table of Contents
    • How to use it
      • Default
      • Size
    • Configuration
    • API
      • LG
      • MD
      • Paragraph
      • SM

    How to use it

    Default

    Use Paragraph to style and format <p> elements.

    Toggle dark mode
    Set primary hue
    Toggle RTL
    Open in CodeSandbox
    Copy code
    View code

    Size

    Size controls the space between Paragraphs. The default size is medium, and you can choose small or large too. Use typography to choose an appropriate type scale.

    Toggle dark mode
    Set primary hue
    Toggle RTL
    Open in CodeSandbox
    Copy code
    View code

    Configuration

    • Name9.5.3•View source•View on npm
    • Installnpm install @zendeskgarden/react-typography
    • Depsnpm install react react-dom styled-components @zendeskgarden/react-theming
    • Importimport { LG, MD, Paragraph, SM } from '@zendeskgarden/react-typography'

    API

    LG

    Extends HTMLAttributes<HTMLDivElement>

    Prop nameTypeDefaultDescription
    isBold
    boolean

    Applies bold font style

    isMonospace
    boolean

    Renders with monospace font

    tag
    any
    div

    Updates the element's HTML tag

    MD

    Extends HTMLAttributes<HTMLDivElement>

    Prop nameTypeDefaultDescription
    isBold
    boolean

    Applies bold font style

    isMonospace
    boolean

    Renders with monospace font

    tag
    any
    div

    Updates the element's HTML tag

    Paragraph

    Extends HTMLAttributes<HTMLParagraphElement>

    Prop nameTypeDefaultDescription
    size
    'small' | 'medium' | 'large'
    'medium'

    Controls the spacing between sibling paragraphs

    SM

    Extends HTMLAttributes<HTMLDivElement>

    Prop nameTypeDefaultDescription
    isBold
    boolean

    Applies bold font style

    isMonospace
    boolean

    Renders with monospace font

    tag
    any
    div

    Updates the element's HTML tag

    Garden is the design system by Zendesk.
    BlogGitHubVersions
    © Zendesk 2025