> ## Documentation Index
> Fetch the complete documentation index at: https://docs.layerfi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Linked Accounts

> Bank accounts and credit cards connected to Layer.

Displays all accounts connected to Layer including embedded banking, Plaid, and custom accounts.

![Linked Accounts](https://github.com/Layer-Fi/layer-react/assets/1592431/3e7c1349-a5c3-47c8-a4d5-71f9bdc3be78)

```tsx theme={null}
<LinkedAccounts showLedgerBalance />
```

### Properties

<ParamField body="elevated" type="boolean">
  Stylistic option to highlight the component.
</ParamField>

<ParamField body="showLedgerBalance" type="boolean">
  Flag to enable or hide the current ledger balance corresponding to this external account. Useful for bank reconciliation workflows.
</ParamField>

<ParamField body="plaidHostedLinkConfig" type="PlaidHostedLinkConfig">
  Configuration for using Plaid Hosted Link instead of the embedded Plaid modal. When provided, account linking opens a Plaid-owned page in the browser rather than displaying an embedded modal.

  <Expandable title="PlaidHostedLinkConfig properties">
    <ParamField body="isMobileApp" type="boolean">
      Set to `true` when the user will open the hosted link in an `ASWebAuthenticationSession` (iOS) or Android Custom Tab. This tells Plaid to use the correct redirect handling for mobile contexts.
    </ParamField>

    <ParamField body="redirectUri" type="string">
      Universal Link (iOS) or App Link (Android) that opens your app. Used when Plaid redirects from a third-party OAuth app (e.g., a bank's app) back to your app during app-to-app authentication.
    </ParamField>

    <ParamField body="completionRedirectUri" type="string">
      URI to redirect to after the user completes the Plaid hosted link flow (e.g., `myapp://plaid-complete`). Recommended for mobile apps to automatically close the hosted link session and return to your app. If not provided, the user sees a "Return to app" message and must navigate back manually.
    </ParamField>

    <ParamField body="navigateToHostedLink" type="(hostedLinkUrl: string) => void | Promise<void>" required>
      Callback function that navigates the user to the Plaid Hosted Link URL. This function receives the Plaid-owned URL and should open it in the device's browser or an in-app browser. Required for all hosted link configurations.
    </ParamField>
  </Expandable>
</ParamField>
