> For the complete documentation index, see [llms.txt](https://docs.kima.network/kima-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kima.network/kima-network/the-kima-sdk/add-kima-widget-to-your-app/widget-status-mode.md).

# Status Mode

`mode = ModeOptions.status`

Status mode displays the progress of a transaction that has already been submitted to Kima. This is useful if the normal flow was interrupted and the status needs to be displayed again. Usually the transaction status view will display automatically after the user approves and submits the transaction.

> ⚠️ `txId` is the transaction id returned from `/submit/transfer` or `/submit/swap` - not the transaction hash. I.e `22843`

```tsx
const App = () => {
  return (
     <KimaProvider
      projectId='your-project-id'
      kimaBackendUrl="http://localhost:4000"
    >
      <KimaTransactionWidget
        theme={{ colorMode: ColorModeOptions.dark }}
        mode={ModeOptions.status}
        txId={22843}
      />
    </KimaProvider>
  );
};
```

You would see a page that looks like this:

<figure><img src="/files/mephIovneDGIrVdjvdds" alt=""><figcaption></figcaption></figure>

If you want to allow users to get a previous transaction from the UI, you must not provide the txId prop to the KimaTransactionWidget component. This will display the transaction search form.

<figure><img src="/files/2fEf7S4lDwayQHCYH1M4" alt=""><figcaption></figcaption></figure>

If the transaction id is valid, and the transaction is found, the corresponding progress of the transaction will be displayed.

<figure><img src="/files/JJftjs570iDrfiLF0RgK" alt=""><figcaption></figcaption></figure>
