---
name: new_spinner_with_style
kind: function
lang: go
domain: tui
version: "1.0.0"
purity: pure
signature: "func NewSpinnerWithStyle(message string, styles Styles) SpinnerModel"
description: "Construye un modelo de spinner con mensaje y estilos visuales personalizados."
tags: [tui, spinner, styles, constructor, pendiente-usar]
uses_functions: []
uses_types: [styles_go_tui]
returns: [spinner_model_go_tui]
returns_optional: false
error_type: ""
imports: []
params:
  - name: message
    desc: "mensaje a mostrar"
  - name: styles
    desc: "Styles para personalizar apariencia"
output: "SpinnerModel: spinner estilizado"
tested: false
tests: []
test_file_path: ""
file_path: "functions/tui/new_spinner_with_style.go"
---

## Ejemplo

```go
theme := DarkTheme()
styles := NewStyles(theme)
model := NewSpinnerWithStyle("Procesando...", styles)
```

## Notas

Permite controlar colores y bordes del spinner mediante el sistema de estilos del registry.
