Skip to main content

TextIconCard Component

This component displays an optional icon, title, text, and an optional button. It supports multiple themes.

Properties

PropertyTypeRequiredDefaultDescription
iconReact.ComponentType<{ className: string; fill: string }>NoThe optional icon component to display in the card.
titlestringYesThe title text for the card.
textstringYesThe description or text content for the card.
urlstringNoThe optional URL to navigate to when the button is clicked.
classNamestringNoAdditional CSS classes to apply to the card.
theme"yellow" | "teal" | "purple" | "grey"NogreyThe theme color of the card.
buttonTextstringNoThe optional text to display on the button.

Usage

TextIconCard
<TextIconCard
icon={tbdRex}
title="Rocket"
text="An open source messaging service that enables wallet applications to communicate with financial institutions to discover and obtain liquidity."
url="https://example.com"
theme="yellow"
buttonText="Talk Money To Me"
/>

Examples

Yellow Theme

Rocket

An open source messaging service that enables wallet applications to communicate with financial institutions to discover and obtain liquidity.

Talk Money To Me

Teal Theme

Liquidity Finder

A tool to help you find the best liquidity options available in the market.

Find Liquidity

Purple Theme

Market Watch

Keep track of market trends and make informed decisions with real-time data.

Watch Market

Teal Theme without Icon

No Icon

This card does not have an icon.

Find Out More

Purple Theme without Button and Icon

No Button and Icon

This card does not have a button and an icon.