---
title: inset
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/tablestyle/inset
---

# inset

The table style that describes the behavior and appearance of a table with its content and selection inset from the table edges.

## Declaration

```swift
@MainActor @preconcurrency static var inset: InsetTableStyle { get }
```

## Discussion

Discussion To customize whether the rows of the table should alternate their backgrounds, use alternatingRowBackgrounds(_:).

## See Also

### Getting built-in table styles

- [automatic](swiftui/tablestyle/automatic.md)
- [bordered](swiftui/tablestyle/bordered.md)
