Apifox Markdown English
  1. Components
Apifox Markdown English
  • Welcome to Apifox Markdown
  • Basic Syntax and Features
    • Title and Text
    • Lists & Tables
    • Image
    • Video
    • Code
    • Icon
    • Tailwind CSS Supports
  • Components
    • Admonition
    • Hightlight
    • Accordion
    • AccordionGroup
    • Multiple Columns
    • Card
    • Card Group
    • Image Frame
    • Image Background
    • Step
    • Tab
    • Tip
    • Copy to Clipboard
    • Text Hover Tip
    • Container
    • Text Drawing - Mermaid
      • Graph
      • Sequence Diagram
      • Class Digram
      • State Diagram
      • Entity Relationship Diagram
      • Journey Map
      • Gantt Chart
      • Pie Chart
    • Formula
      • Inline Formula
      • Block-level Formula
  • Other Questions
    • Shortcuts
  1. Components

Card

Define a rectangular component through Card.

Example#

Card Title
This is the card content
Code:
<Card title="Card Title"> 
This is the card content
</Card>
Card content follows Markdown syntax.

Set Icon#

Card with Icon
This is the card content
Code:
<Card title="Card with Icon" icon="material-two-tone-storefront"> 
This is the card content
</Card>

Clickable Card for Navigation#

Clickable Navigation Card
Clicking the card will navigate to the Apifox official website
Code:
<Card title="Clickable Navigation Card" href="https://apifox.com" icon="material-two-tone-storefront">
Clicking the card will navigate to the Apifox official website
</Card>

Using Tailwind CSS Styles with the class Attribute#

Card
Card content
Code:
<Card title="Card" class="text-center text-xl font-bold">
Card content
</Card>

Defining Styles Directly with style#

Card
Card content
Code:
<Card title="Card" style="background-color: #f0f0f0; padding: 10px;">
Card content
</Card>

Parameter Description#

Card

Modified at 2024-06-27 10:30:41
Previous
Multiple Columns
Next
Card Group
Built with