---
title: "headerProminence(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/headerprominence(_:)"
---

# headerProminence(_:)

Sets the header prominence for this view.

## Declaration

```swift
nonisolated func headerProminence(_ prominence: Prominence) -> some View

```

## Parameters

- `prominence`: The prominence to apply.

## Discussion

Discussion In the following example, the section header appears with increased prominence: List {     Section(header: Text("Header")) {         Text("Row")     }     .headerProminence(.increased) } .listStyle(.insetGrouped)

## See Also

### Configuring headers

- [headerProminence](swiftui/environmentvalues/headerprominence.md)
- [Prominence](swiftui/prominence.md)
