Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.24 KB

File metadata and controls

33 lines (23 loc) · 1.24 KB
title Balance
description Display ETH balance with USD conversion.

Balance

Displays the balance of a given address in both ether (ETH) and US dollars (USD).

Balance Example

Import

import { Balance } from "@scaffold-ui/components";

Usage

<Balance address="0x34aA3F359A9D614239015126635CE7732c18fDF3" />

Props

Prop Type Default Value Description
address string undefined Address in 0x___ format, it will resolve its ENS if it has one associated.
className (optional) string "" Prop to pass additional CSS styling to the component. You can use Tailwind / daisyUI classes like text-3xl for styling.

:::tip[Scaffold-UI] For more details on customization and theming, check the Scaffold-UI Balance docs. :::