---
name: new_progress_with_styles
kind: function
lang: go
domain: tui
version: "1.0.0"
purity: pure
signature: "func NewProgressWithStyles(total float64, label string, styles Styles) ProgressModel"
description: "Construye un modelo de barra de progreso con valor total, etiqueta y estilos visuales personalizados."
tags: [tui, progress, styles, constructor]
uses_functions: []
uses_types: [styles_go_tui]
returns: [progress_model_go_tui]
returns_optional: false
error_type: ""
imports: []
params:
  - name: total
    desc: "valor total para la barra"
  - name: label
    desc: "etiqueta descriptiva"
  - name: styles
    desc: "Styles para aplicar a la barra"
output: "ProgressModel: barra de progreso estilizada"
tested: false
tests: []
test_file_path: ""
file_path: "functions/tui/new_progress_with_styles.go"
---

## Ejemplo

```go
styles := DarkStyles()
model := NewProgressWithStyles(50.0, "Indexando", styles)
```

## Notas

Variante de NewProgress que permite personalizar la apariencia de la barra mediante Styles.
