> For the complete documentation index, see [llms.txt](https://nazeehs-org.gitbook.io/comp-kit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nazeehs-org.gitbook.io/comp-kit/hooks/useaccount.md).

# useAccount

This hook provides data regarding the connected account.&#x20;

### Usage

```tsx
import { useAccount } from '@nazeeh2000/comp-kit'

const Comp = () => {
  const { address, isConnected } = useAccount();
  
  return (
  // Your component
  )
}
```

### Return values

```tsx
const {
      address,
      connecting,
      error,
      status, // 'connecting' | 'connected' | 'disconnected' | 'error'
      isConnected,
      disconnectWallet,
      walletProvider, // shows which wallet provider is connected e.g. MetaMask or WalletConnect
} = useAccount()
```
