Spectrum Components API

Schema version: 6.0.0

Thumbnail

Thumbnails are small representations of images or content used for previews and navigation in galleries, lists, and media collections.

PropertyValuesDefault valueRequired
size
yes / no
nono
state
default / disabled
default
{
  "slug": "thumbnail",
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
  "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/thumbnail.json",
  "title": "Thumbnail",
  "description": "Thumbnails are small representations of images or content used for previews and navigation in galleries, lists, and media collections.",
  "meta": {
    "category": "navigation",
    "documentationUrl": "https://spectrum.adobe.com/page/thumbnail/"
  },
  "type": "object",
  "properties": {
    "size": {
      "type": "number",
      "enum": [
        50,
        75,
        100,
        200,
        300,
        400,
        500,
        600,
        700,
        800,
        900,
        1000
      ]
    },
    "state": {
      "type": "string",
      "enum": [
        "default",
        "disabled"
      ],
      "default": "default"
    }
  }
}
← Back to home