OctantisWeb.Components.Polaris.Thumbnail (octantis v0.1.13)

View Source

Use thumbnails as a visual anchor and identifier for an object. They should be used along with text to provide context.

Examples

  <.thumbnail source="https://picsum.photos/250" alt="Promotional image"/>

See

Summary

Functions

Use thumbnails as a visual anchor and identifier for an object. They should be used along with text to provide context.

Functions

class(attrs)

thumbnail(assigns)

Use thumbnails as a visual anchor and identifier for an object. They should be used along with text to provide context.

Examples

  <.thumbnail source="https://picsum.photos/250" alt="Promotional image"/>

See

Attributes

  • size (:string) - Size of thumbnail. Defaults to "medium".
  • source (:string) (required) - URL for the image.
  • alt (:string) - Alt text for the thumbnail image. Defaults to nil.
  • transparent (:boolean) - Transparent background. Defaults to false.