> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/es/aplicaciones/components/surfaces/paper.md).

# Paper

Utilice el componente New-UDPaper en PowerShell Universal para crear superficies de papel de Material Design con elevación, esquinas cuadradas y colores de fondo personalizados.

**En Material Design, las propiedades físicas del papel se trasladan a la pantalla.**

El fondo de una aplicación se asemeja a la textura plana y opaca de una hoja de papel, y el comportamiento de una aplicación imita la capacidad del papel de redimensionarse, barajarse y encuadernarse en varias hojas.

## Paper

```powershell
New-UDPaper -Elevation 0 -Content {} 
New-UDPaper -Elevation 1 -Content {} 
New-UDPaper -Elevation 3 -Content {}
```

## Formato del contenido de Paper

De forma predeterminada, el componente paper utiliza el tipo de visualización flex para el contenido que hay dentro del paper. Esto puede provocar problemas con otros tipos de contenido que se almacenen dentro del paper. Puede anular el tipo de visualización mediante el parámetro `-Style`.

```powershell
$m=@'
# Hello

## world
- a
- b
-c
'@

New-UDPaper -Elevation 7 -Children {
   New-UDMarkdown -markdown $m
} -Style @{
   display = 'block'
}
```

## Paper cuadrado

De forma predeterminada, el paper tendrá los bordes redondeados. Puede reducir el redondeo utilizando un paper cuadrado.

```powershell
New-UDPaper -Square -Content {}
```

## Paper de color

El parámetro `-Style` se puede utilizar para dar color al paper. Se puede incluir cualquier CSS válido en la tabla hash de un estilo.

El siguiente ejemplo crea un paper con un fondo rojo.

```powershell
New-UDPaper  -Content { } -Style @{ 
     backgroundColor = 'red'
}
```

## API

* [New-UDPaper](/powershell-universal/es/comandos-de-powershell/new-udpaper.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/powershell-universal/es/aplicaciones/components/surfaces/paper.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
