Examples

18 example apps from the repository, each pictured as the reference host draws it with its sample data. Every one runs in the playground, in your browser, with nothing to install, and its definition can be changed while it runs.

One more, Component gallery, shows every built-in control and runs on a page of its own: Components.

For work and home

Apps for the everyday: keeping track, collecting, deciding and planning.

  • Trip savings, as the reference host draws it with its sample data.Trip savings, as the reference host draws it with its sample data.

    Trip savings

    Tracks money arriving in your savings accounts toward a trip goal and a date, tells you how much to put aside each week to get there, and celebrates when you pass the halfway mark and the goal.

    Money arriving in savings accounts toward a goal and a date, with progress, a weekly amount and milestones.

  • Book club, as the reference host draws it with its sample data.Book club, as the reference host draws it with its sample data.

    Book club

    A club's reading list: the book being read now, the books up next and the books finished, with who picked each. Includes Goal, which counts the books finished toward the club's goal for the year.

    One app inside another on the core catalog alone: a reading list whose finished books drive the Goal card it includes.

  • Goal, as the reference host draws it with its sample data.Goal, as the reference host draws it with its sample data.

    Goal

    A count toward a goal on one card: how far along, how many to go, and the number to reach. On its own you step the count yourself; an app that includes the card gives it the count instead.

    A card made to be included: a count toward a goal, inputs an app can drive, a goal of its own and a value it gives back.

  • Trip planner, as the reference host draws it with its sample data.Trip planner, as the reference host draws it with its sample data.

    Trip planner

    Plans a trip: where and when, what it will cost, and what still needs doing. Includes Trip savings, whose goal follows the trip's total cost and whose deadline is the departure date.

    One app inside another: costs, dates and things to do for a trip, with Trip savings included as a part.

  • Support dashboard, as the reference host draws it with its sample data.Support dashboard, as the reference host draws it with its sample data.

    Support dashboard

    Shows the team's open support tickets with their counts, a searchable, sortable list with each ticket opened beside it, and an overview by priority, refreshed every hour.

    Sections, figures in the title band, a searchable table whose tickets open beside it, and a chart by priority.

  • Purchase approvals, as the reference host draws it with its sample data.Purchase approvals, as the reference host draws it with its sample data.

    Purchase approvals

    Routes purchase requests over the approval limit to the requester's manager and then to finance, escalates to the manager's own manager after three days without an answer, and keeps a record of every decision. Requests at or under the limit are approved straight away.

    A flow with approvals: requests over the limit go to the manager, then finance, with roles, shared state and a timed escalation.

  • Expense filing, as the reference host draws it with its sample data.Expense filing, as the reference host draws it with its sample data.

    Expense filing

    Files receipts as expenses, checks each one against your organization's expense policy, flags anything outside it for a justification, and submits claims once you say so. Built to be used by an agent, with a small screen where you see what was filed, what waits for you, and what was paid.

    Built for an agent: typed tools, policy checks and a confirmation, with a small screen of what was filed and paid.

  • Site inspection, as the reference host draws it with its sample data.Site inspection, as the reference host draws it with its sample data.

    Site inspection

    A safety checklist for site inspections that works with no signal. Answer each item, photograph problems, attach documents, and finish; finished inspections wait on the device and are sent as soon as there is a connection.

    A checklist that works with no signal: photos, files, location, and reports sent once there is a connection.

  • Front desk, as the reference host draws it with its sample data.Front desk, as the reference host draws it with its sample data.

    Front desk

    The sign-in book at the entrance of an office: each visitor signs in in their own language and is given a badge number, and the desk sees who is in the building today.

    A visitor sign-in book, one document in English, Arabic and Japanese: its own table of texts, plural forms, right to left in Arabic.

  • Table for two, as the reference host draws it with its sample data.Table for two, as the reference host draws it with its sample data.

    Table for two

    Ask a small restaurant, Trattoria Esempio, for a table: choose a day, a time and how many people, and the card says what was asked for. The photo at the top travels inside the app's own file.

    A booking card for a restaurant: a day, a time and a party size, and a photo on top that travels inside the app’s own file.

Games, pictures and models

Apps to play, to draw with and to watch.

  • Stackfall, as the reference host draws it with its sample data.Stackfall, as the reference host draws it with its sample data.

    Stackfall

    A falling-blocks game of stars, pairs, rods, corners and five-block pieces in a well nine cells wide. Full rows clear, a star in a cleared row clears its column above it, and the pace rises every eight rows.

    A falling-blocks game on a canvas: symbols, groups, motion paced by one rule, and keys and touch buttons.

  • Five in a row, as the reference host draws it with its sample data.Five in a row, as the reference host draws it with its sample data.

    Five in a row

    The old board game against the computer: take turns placing stones where the lines cross, and the first to make an unbroken line of five, across, down or diagonally, wins.

    Five in a row against a computer whose move is code in a sandbox: stones as symbols that glide into place.

  • Word builder, as the reference host draws it with its sample data.Word builder, as the reference host draws it with its sample data.

    Word builder

    A quick word game for car rides. Each round deals the letters of a hidden word; find as many words in them as you can before the clock runs out. Play by tapping letters, typing, or saying words out loud.

    A game drawn on a canvas, with a timer, pointer and key events, and a word list run as code in a sandbox.

  • Slide, as the reference host draws it with its sample data.Slide, as the reference host draws it with its sample data.

    Slide

    The traditional sliding tile puzzle: square tiles in a frame with one gap. Slide the tiles back into order, three by three or four by four, in as few moves as you can.

    The sliding tile puzzle on a canvas: tiles that glide by their ids, a sweep of color, and each move in words.

  • Grid Sketch, as the reference host draws it with its sample data.Grid Sketch, as the reference host draws it with its sample data.

    Grid Sketch

    Draw small pictures square by square: a pencil, an eraser, a fill and a colour picker, thirty-two colours, layers, undo, and saving the picture as an SVG file.

    A pixel editor on a canvas with pointer and key events: tools, layers, undo, a design system of its own and pictures saved as files.

  • Rosette, as the reference host draws it with its sample data.Rosette, as the reference host draws it with its sample data.

    Rosette

    A small studio for one kind of picture: move a few sliders and pick a palette, and the canvas draws a rosette, one petal repeated round a middle in rings, the way such ornaments are drawn in tiles, lace and rose windows.

    A pattern studio: sliders and a palette place one petal, drawn once as a symbol, in turned rings that glide.

  • Orrery, as the reference host draws it with its sample data.Orrery, as the reference host draws it with its sample data.

    Orrery

    A small moving model of the Solar System: the eight planets go round the Sun at their true pace against each other. Play and pause, make time run faster or slower, set the planets where they are today, and press a planet to read a few facts about it.

    The Solar System in motion: groups turned by a rule each second, gradients, and planets picked by pointer or keys.

The format at work

A control from another catalog, with the one it falls back to.

  • Support plus, as the reference host draws it with its sample data.Support plus, as the reference host draws it with its sample data.

    Support plus

    The support dashboard with its priority chart drawn by a commercial chart control that adds a target line, value labels and export. On a host without that control it falls back to the core chart and works the same.

    A chart from a vendor’s catalog with a fallback: this host cannot draw it, so the core chart stands in.

In the reader’s language

One document can carry the app’s own texts in several languages, each written out in its table of texts. A reader sees the app in their own language, with numbers and dates as they write them, and right to left where the language is written that way. The reader can change it with the globe in the app’s bar; the app cannot change it for them.

  • English
    Front desk in English: the app's name in its bar, the sections Sign in and Today, a greeting, the fields for the visitor's name and the person they visit, the reasons for a visit and the button that signs in, in English.Front desk in English: the app's name in its bar, the sections Sign in and Today, a greeting, the fields for the visitor's name and the person they visit, the reasons for a visit and the button that signs in, in English.
  • العربية
    Front desk in Arabic, right to left: the app's name at the right of its bar, the sections Sign in and Today, a greeting, the fields for the visitor's name and the person they visit, the reasons for a visit and the button that signs in, each set from the right, in Arabic.Front desk in Arabic, right to left: the app's name at the right of its bar, the sections Sign in and Today, a greeting, the fields for the visitor's name and the person they visit, the reasons for a visit and the button that signs in, each set from the right, in Arabic.
  • 日本語
    Front desk in Japanese: the app's name in its bar, the sections Sign in and Today, a greeting, the fields for the visitor's name and the person they visit, the reasons for a visit and the button that signs in, in Japanese.Front desk in Japanese: the app's name in its bar, the sections Sign in and Today, a greeting, the fields for the visitor's name and the person they visit, the reasons for a visit and the button that signs in, in Japanese.
Front desk, one of the playground’s samples, carries every text in English, Arabic and Japanese. The pictures show its first screen on a phone, as the reference host opens it for a reader of each language: the browser said the language, and nothing was pressed.

Open it in the playground How a table of texts is written