Board

board · Canvas · All components

Root canvas (artboard). Holds Screens side by side, plus optional Notes and Flow lines. Must be the root element.

Board example

board row "Checkout flow" gap=48 accent=blue
  screen custom "Cart" width=240 height=200
    heading "Cart" level=3
    text lines=3
    spacer
    button primary "Checkout" fullWidth
  screen custom "Payment" width=240 height=200
    heading "Payment" level=3
    toggle "Save card" on
    spacer
    button primary "Pay" fullWidth
  note "accent colors primary buttons, toggles, checked controls and active tabs. Omit it for grayscale." width=180

Writing it

Props

Prop Values Notes
title (main text) string
layout row, grid row = all screens side by side; grid = wrap every columns screens
columns number
gap number
padding number
accent string The one UI color: primary buttons, solid badges, checked controls, toggles, sliders, progress, selected days and pages, active tabs, ghost buttons. blue, indigo, violet, pink, red, orange, green, teal, or a hex color like #1a73e8. Omit for grayscale.

tsquare 0.9.0 · View this page on GitHub