# Container

Source: /tuil/docs/reference/packages/ink/api/container
Locale: en

function exported by @mwillbanks/tuil-ink.



{/* Generated by tooling/docs/generate-reference.ts. */}

## function [#function]

Public function exported by `@mwillbanks/tuil-ink`.

```ts
export function Container({
  maxWidth = 80,
  width = "100%",
  ...props
}: ContainerProps): ReactNode;
```

## Members [#members]

This declaration has no public members.

## Parameters [#parameters]

| Member                                                        | Type             | Required | Description                                                                                           | Related types                                                        |
| ------------------------------------------------------------- | ---------------- | -------- | ----------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `&#123;   maxWidth = 80,   width = "100%",   ...props &#125;` | `ContainerProps` | Yes      | Supplies the `&#123;   maxWidth = 80,   width = "100%",   ...props &#125;` value as `ContainerProps`. | [`ContainerProps`](/tuil/docs/reference/packages/ink/api/container-props) |

## Returns [#returns]

`ReactNode` — Returns a value that satisfies `ReactNode`.

Related types: —

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

* [`ContainerProps`](/tuil/docs/reference/packages/ink/api/container-props)

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/ink/src/components.tsx)

## Package [#package]

[@mwillbanks/tuil-ink](/tuil/docs/reference/packages/ink)
