# DaprComponentOptions Properties

- Package: [CommunityToolkit.Aspire.Hosting.Dapr](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr.md)
- Type: [DaprComponentOptions](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/daprcomponentoptions.md)
- Kind: `Properties`
- Members: `1`

Options for configuring a Dapr component.

## LocalPath

- Name: `LocalPath`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/30a4b632065206d447183d2baabf6dfb3678d4af/src/CommunityToolkit.Aspire.Hosting.Dapr/DaprComponentOptions.cs)

Gets or sets the path to the component configuration file.

```csharp
public string? LocalPath { get; init; }
```

## Remarks

If specified, the folder containing the configuration file will be added to all associated Dapr sidecars' resources paths.
