Get started
Introduction
What a card is, what it’s made of, and the ways to build one.
A TailApps card is a small native tool: a status in the menu bar, a timer, a to-do list, a screenshot tray, a remote for your computer. You don’t write Swift or ship a binary. A card is one JSON document that says what to show and what to do, and TailApps draws it natively on your computer and your iPhone and runs it.
{
"schema": "tailapps/v0",
"app": "counter",
"name": "Counter",
"permissions": [],
"state": {
"count": { "type": "number", "default": 0, "sync": true }
},
"cards": [{
"id": "main",
"layout": { "column": [
{ "stat": "$count", "label": "Count" },
{ "button": "Add one", "on": "add", "style": "primary" }
] }
}],
"actions": {
"add": { "steps": [{ "increment": { "count": 1 } }] }
},
"views": {
"menubar": { "icon": "plus.circle", "label": "{$count}" }
}
}
That’s a whole card. It shows a number and a button, puts the count in its status for the menu bar, and with "sync": true the count is the same on your computer and your iPhone.
What a card is made of
| Key | What it does | Read |
|---|---|---|
cards | What people see: parts like text, stat, list, button and field, laid out in rows, columns and grids. | Parts and layout |
state | What the card remembers. Raw values, formatted at display time. | State and sync |
sources | Where live values come from: an API, a command, an inbox, the system, the calendar. | Sources |
actions | What buttons, fields and events do, as a list of steps. | Actions and steps |
permissions | Everything the card may do, in plain words on the approval sheet. Undeclared means denied. | Permissions |
views | Where it shows: the menu, the menu bar and Dock, a pop-out window, the iPhone. | Where cards show |
Three ways to build a card
- Ask your agent. Connect Claude Code (or any MCP client) to TailApps on your computer and describe the card you want. The agent reads the catalogue, checks the card, and installs it; you approve what it may do. Build with your agent
- Write the JSON yourself. Any editor works. Check it against the JSON Schema, then open the file in TailApps. Your first card
- Start from the Directory. Open a reviewed card from the Directory, then change it to fit. The Directory
A few rules that shape everything
- Cards are data, never code. Everything a card can do is already built into TailApps. A card only combines it, so the iPhone app never runs downloaded code.
- The person approves once. The approval sheet lists every permission in plain words. A change that asks for more shows the sheet again.
- No raw styling. Cards use tokens (tone, size, emphasis, one accent colour), so they look right on every device, in light and dark.
- Secrets never go in the card. API keys live in the Keychain as Connections, or come from an OAuth sign-in.
- Unknown keys are errors. The validator names the path, the problem and the allowed values, so a mistake is quick to fix.
What you need
- A Mac with macOS 15 Sequoia or later (Apple silicon or Intel) for TailApps itself, and for cards that run commands and scripts. Download
- Optional: the iPhone app, to use your cards on your phone and send between devices.
- Optional: the tailapps command line, to send to cards from servers, CI and scripts. Command line
Reference that stays current
Every list of parts, steps, formatters, sources, settings and permissions in these docs is printed from the same catalogue TailApps checks cards against, so it matches the app. The raw files are public too: JSON Schema · catalogue.