---
title: "placeholder(context:)"
framework: widgetkit
role: symbol
role_heading: Instance Method
path: "widgetkit/relevanceentriesprovider/placeholder(context:)"
---

# placeholder(context:)

Provides the entry representing a placeholder version of the widget.

## Declaration

```swift
func placeholder(context: Self.Context) -> Self.Entry
```

## Parameters

- `context`: An object describing the context to show the widget in.

## Mentioned in

Increasing the visibility of widgets in Smart Stacks

## Return Value

Return Value A relevance entry that represents a placeholder version of the widget.

## See Also

### Generating relevance entries

- [entry(configuration:context:)](widgetkit/relevanceentriesprovider/entry(configuration:context:).md)
- [relevance()](widgetkit/relevanceentriesprovider/relevance().md)
- [RelevanceEntriesProviderContext](widgetkit/relevanceentriesprovidercontext.md)
