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

# focusable(_:)

Specifies if the view is focusable.

## Declaration

```swift
nonisolated func focusable(_ isFocusable: Bool = true) -> some View

```

## Parameters

- `isFocusable`: A Boolean value that indicates whether this view is focusable.

## Return Value

Return Value A view that sets whether a view is focusable.

## See Also

### Indicating that a view can receive focus

- [focusable(_:interactions:)](swiftui/view/focusable(_:interactions:).md)
- [FocusInteractions](swiftui/focusinteractions.md)
