File card

View as Markdown

A file card displays a file preview and related information. The file card shows the file name, type, and other relevant details. This component helps organize and present files in a user-friendly format.

Example

Example

JSON example

{
  "content": {
    "settings": {},
    "body": [
      {
        "type": "file",
        "icon_url": "https://d24cgw3uvb9a9h.cloudfront.net/static/93516/image/new/ZoomLogo.png",
        "title": {
          "text": "This is file title",
          "file_url": "https://zoom.us"
        },
        "description": {
          "text": "This is file description"
        }
      }
    ]
  }
}