Banner
Installation
$ npm install @lidofinance/solido-sdk-banner
$ yarn add @lidofinance/solido-sdk-banner
Horizontal mode
Props:
referrerId
- Solana Referral Address. Read more.direction
=horizontal
<LidoStakeBanner referrerId="your_solana_referral_address" direction="horizontal" />
9.35 APY + DeFi Yields
Stake SOL with Lido and receive stSOL while staking.
Put stSOL in to DeFI integrations and earn up to 272.14% APY
Vertical mode
Props:
referrerId
- Solana Referral Address. Read more.width
- This option is for customising width of vertical mode. Default and best fit value is335px
.direction
=horizontal
<LidoStakeBanner referrerId="your_solana_referral_address" direction="vertical" />
9.35 APY + DeFi Yields
Stake SOL with Lido and receive stSOL while staking.
Put stSOL in to DeFI integrations and earn up to 272.14% APY
info
Banner is responsive, in devices with less than 767px width the banner automatically rotates from horizontal to vertical.
width
props for horizontal mode always 100%, use wrapper, if need limited.