Skip to main contenteBay Playbook
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles

Design system

  • Overview
    • Overview
    • Color
    • Dimension
    • Spacing
    • Typography
    • Breakpoints
    • Shadow
    • Shape
    • Opacity
    • Motion
    • Overview
    • Status
    • Accordion
    • Action bar
      • Overview
      • Inline notice
      • Page notice
      • Section notice
    • Avatar
    • Badge
    • Banner
    • Breadcrumb
      • Overview
      • Branded button
      • CTA button
      • Icon button
      • Link button
    • Card
    • Carousel
    • CCD
      • Filter chip
      • Input chip
      • Graphs
      • Metrics
    • Date picker
    • Dialog
    • Divider
    • Education notice
    • EEK rating and range
    • Expansion
      • Checkbox
      • Combobox
      • Dropdown
      • Numeric stepper
      • Password
      • Phone number
      • Radio button
      • Select list
      • Switch
      • Text area
      • Text field
    • Item tile
    • List row
      • Overview
      • Expressive loader
      • Skeleton loader
    • Media container
      • Top navigation bar
    • Pagination
    • Popover
    • Progress stepper
    • Search field
    • Section header
    • Segmented button
      • Bottom sheet
      • Panel
    • Signal
    • Snackbar
    • Tab
    • Table
      • Tooltip
      • Tourtip
    • Toggle button group
    • Video player
    • Overview
    • Bulk editing
    • File uploading
      • Text link

Text area

v4.0

Text areas allow for input that extends across multiple lines.

  • Skin
  • Marko
  • React
Stylized artwork of a Text area.
Text areav4.0

On this page

  • Anatomy
  • Properties
  • Behavior
  • Screen sizes
  • Best practices
  • Specs

Anatomy

Properties

Behavior

Screen sizes

Best practices

Usage

Specs

PreviousSwitch
Things.People.Love.
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles
  • Careers
  • Press
  • Privacy policy
© 2025 eBay. All rights reserved.

eBay Evo, the eBay trademark, and the eBay logo are the intellectual property of eBay Inc.

    1. Label
    2. Value
    3. Container
    4. Helper text

    Label

    Labels are required for text area fields and quickly describe the field’s purpose.

    Value

    The value is submitted with the form. The value replaces any placeholder text in the field after the first character is entered.

    Placeholder text

    Placeholder text, or “ghost text”, is visible until a character is entered.

    Because the placeholder text disappears, putting instructions or requirements as placeholder text is not accessible. Helper text is the preferred method to convey this information.

    Helper text

    Helper text is placed below the field and informs the user of any requirements, disclaimers, and errors. Helper text can be shown persistently but is replaced by error text when an error occurs.

    Character count

    A character counter will appear when there is a limit on the number of characters that can be submitted. The counter updates in real-time as the input is adjusted.

    Rows

    The default number of rows can be customized to increase or decrease the height of the field. The default is 4 rows.

    Resize

    Web browsers add a resize indicator to the bottom right of text area fields by default. Dragging the corner adjusts the field’s width and height. Resizing can be disabled if the behavior isn’t desirable.

    Overflow

    Text area fields overflow top and bottom. While focused, the content will shift to keep the cursor in view as the user enters characters. When the field loses focus, the content will scroll to the beginning. Focusing on the field again returns the user to the end of the content.

    Error messages

    An error message appears below the field when a required field is left empty or an invalid value is provided. The error message replaces any existing helper text when present.

    Disabled

    Users cannot focus on or change disabled fields. Their availability depends on certain requirements. No value will be submitted from disabled fields.

    Small

    Text area fields expand the full width of the screen up to the page margins on small screens.

    Medium and large

    Text area fields expand up to their full width on larger screens. Web devices will have the browser’s native text area resize indicator in the bottom right corner.

    Do use text area fields when longer values and sentences are encouraged.

    Don’t use text area fields when the expected value is short. Use a simple text field instead.

    Text area diagram with 4 elements numbered: 1. Label, 2. Value, 3. Container, 4. Helper text.
    An ‘Item Description’ label above a text area.
    Text placed into a ‘Feedback’ text area.
    Placeholder text inside of an ‘Item description’ text area.
    Alt text goes here
    A character count indicator is placed within the Helper text area situated below the text area.
    Three text area examples. The first is a ‘Description’ text area with an example of a field 3 rows tall, the second is a ‘Description’ text area with an example of a field 4 rows tall, and the third is a ‘Description’ text area with an example of a field 5 rows tall.
    Two text areas. The first is a text area with a fixed height contains text that overflows, the second is a text area with a resize indicator on the bottom right of the text area, resizing the text area to visualize the full set of text in the text area.
    Two text areas; the first is a text area with a fixed height contains text that overflows, and the second is a text area in a typing state with the typing cursor in view.
    An error message underneath a text area.
    A text area in the disabled state.
    A text area spanning the full width of a Refund screen on the eBay mobile app.
    A text area spanning the full width of a Refund screen on an eBay large size page.
    ‘Message to buyer’ label on a text area.
    ‘Email (optional)’ label on a text area.
    A text area component is shown with specs highlighted. Space between the label and text area is 4px, padding to the left and right of content inside of a text area is 16px, padding of the top and bottom of content inside of a text area is 8px, and space between a text area and helper text is 8px.