---
layout: page
title: "Wrap Text"
node_type: "lib.textwrap.Wrap"
namespace: "lib.textwrap"
---

**Type:** `lib.textwrap.Wrap`

**Namespace:** `lib.textwrap`

## Description

Wraps text to a specified width, returning a list of lines.
    textwrap, wrap, lines

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|----------|
| text | `str` |  | `` |
| width | `int` |  | `70` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `List[str]` |  |

## Metadata

## Related Nodes

Browse other nodes in the [lib.textwrap](../) namespace.

