Image

image · Content · All components

Image placeholder: a box with an X through it, or a map.

Image example

board
  screen custom width=480 height=400
    stack row gap=12
      image "label" height=120 width=160
      image height=120 width=120 rounded
      image height=120
    text "In a row, an image without a width is square." sm muted
    image map height=150 "Map"

Writing it

Props

Prop Values Notes
height number
width number, string Default fills the container width
label (main text) string
rounded boolean
kind photo, map map draws roads and a pin instead of the X

tsquare 0.9.0 · View this page on GitHub