Blocks
Everything on a page is a block. You add blocks from the slash menu: type / on a line, then type part of the block’s name. This page lists every block and explains the ones that take some setting up.
All blocks
Section titled “All blocks”Text and lists
Section titled “Text and lists”| Slash menu item | What it’s for |
|---|---|
| Paragraph | Plain text. Every new line starts as one |
| Heading 1, Heading 2, Heading 3 | Section titles. They show in the page’s outline and table of contents |
| Heading 4, Heading 5, Heading 6 | Smaller headings, under Subheadings |
| Toggle Heading 1, 2 and 3 | A heading that hides the blocks under it until you open it |
| Bullet List | A list without numbers |
| Numbered List | A list in order |
| Check List | A to-do list with checkboxes |
| Toggle List | A line that hides the blocks under it until you open it |
| Quote | A quote or excerpt |
| Divider | A line across the page |
| Code Block | Code, with colors for the language you pick |
| Table | A simple table of text. For rows you sort, filter and track, use a database |
| Emoji | Opens the emoji picker |
Media and files
Section titled “Media and files”| Slash menu item | What it’s for |
|---|---|
| Image | A picture, with a caption. Drag its sides to resize it |
| Video | A video player |
| Audio | An audio player |
| File | Any other file, as a link to download it |
Lyra blocks
Section titled “Lyra blocks”These are in the Lyra group of the slash menu.
| Slash menu item | What it’s for |
|---|---|
| Page | A new page inside this one, with a link to it |
| Database | A table, board or list of rows inside the page |
| 2 columns, 3 columns | Blocks side by side |
| Callout | A colored box with an icon, to make a note stand out |
| Card | A box around a few blocks, with an optional label |
| Numbered card | A card with a number badge, for one step of a process |
| Arrow | A row with an arrow pointing down to what comes next |
| Timeline | What happened when, one row per moment |
| Number | One big number with what it counts |
| Choice | A question with a few answers, to pick one |
| HTML block | A custom diagram, animation or small simulation in HTML |
| Mermaid diagram | A flowchart, sequence diagram or other diagram written as text |
| Embed | A Google Doc, Figma file, video, Miro board or HTML file shown in the page |
| Table of contents | Links to every heading on the page |
| Synced block | Blocks that show the same content on several pages |
| Paste synced block | Adds the synced block you copied last. Only shows after you copy one |
| Button | Adds a row to a database in one click |
| Chart | A bar, line or pie chart from a small table of numbers |
Colors
Section titled “Colors”Cards, timeline rows, numbers and callouts use the same set of colors:
| Block | Colors |
|---|---|
| Card, timeline row, number | default, gray, blue, green, yellow, orange, red, purple, pink |
| Callout | gray, blue, green, yellow, orange, red, purple, pink. A new callout is gray |
Any block can also get a text or background color from Colors in its block menu.
Callout
Section titled “Callout”A callout is a line of text in a colored box with an icon in front. A new one has a 💡 icon.
- Click the icon to pick another emoji.
- Hover over the callout and click the palette button (Callout color) to change its color.
Toggle list and toggle headings
Section titled “Toggle list and toggle headings”A toggle hides the blocks under it. Click the arrow to open or close it. To put blocks inside a toggle, open it and type under it, or move a block under it and press Tab.
Code block
Section titled “Code block”Pick a language from the list at the top of the block to color the code. Tab adds two spaces. Enter adds a new line. To leave the block, press Enter three times at the end of the code, or Shift+Enter once.
A code block with the language mermaid shows as a diagram when an agent or the API writes it. See Markdown.
Hover over a table to show handles on its rows and columns. Click a handle for options such as Add row above, Add column left, Delete row and Delete column. Drag a row or column handle to move it. To add a row or column at the end, use the + at the bottom or right edge of the table.
To make the first row or column a header, open the table’s block menu (the ⋮⋮ handle) and turn on Header row or Header column.
You can paste a table from Notion or a Markdown table, and it stays a table.
Image, video, audio and file
Section titled “Image, video, audio and file”Each of these starts empty. Click it to open a panel with two tabs:
| Tab | What it does |
|---|---|
| Upload | Uploads a file from your computer, like Upload image |
| Embed | Uses a file from a link: paste it in Enter URL and click Embed image |
You can also paste or drag a file into the page.
A video shows a still frame from the video before it plays. Click the player to play it; clicking doesn’t select the block.
How much you can upload depends on your plan. See plans and billing.
Page links
Section titled “Page links”There are two ways to link to another page:
- Page in the slash menu makes a new page inside this one and adds a link to it.
@and a page name links to a page that already exists. See links and mentions.
Click a page link to open that page. The link shows the page’s title, and its icon once Lyra has loaded that page.
Mermaid diagram
Section titled “Mermaid diagram”A Mermaid diagram is drawn from text. A new diagram opens in edit mode: type the diagram’s source, then click Preview to see it. Click Edit to change it again.
flowchart TD Request --> Review Review --> Approved Review --> RejectedClick Full screen to open the diagram on its own. There you can drag to move around, zoom with the buttons or the keys below, or hold ⌘ (Ctrl on Windows) and scroll.
| Key | What it does |
|---|---|
+ |
Zoom in |
- |
Zoom out |
1 |
Actual size |
0 |
Fit to screen |
| Arrow keys | Move around |
| Esc | Close |
See Mermaid’s documentation for the kinds of diagrams it can draw.
A chart draws a bar, line or pie chart from a small table. Hover over it and click Edit chart:
- Pick Bar, Line or Pie.
- Give it a Title.
- Type the numbers in Data (CSV: label, then one column per series). The first line names the columns.
Month,Signups,UpgradesJan,120,14Feb,150,22Mar,170,31That draws two series, Signups and Upgrades, across three months.
Database
Section titled “Database”Database in the slash menu puts a database view in the page. It starts empty with two choices:
- Create database makes a new database and shows it here.
- Link a database shows a database that already exists. Search for it in Search databases.
The rows live in the database, so a database shown on several pages shows the same rows everywhere. See databases and views.
Columns
Section titled “Columns”2 columns and 3 columns put blocks side by side. Type in each column as you would in the page, and add any block inside, cards and HTML blocks included.
Drag the gap between two columns to change how wide they are. On a phone, columns show one under the other, so each column should make sense on its own.
A card is a box around a few blocks.
- Click Label at the top of the card to give it a name, like “Option A”.
- Hover over it and use Card color to change its color.
- A label of only digits, like
2, shows as a numbered badge. Numbered card in the slash menu does this for you and picks the next number on the page.
Use numbered cards for the steps of a process, and named cards to compare options.
An arrow is a row with a dashed arrow pointing down. Put it between two blocks to show that one comes after the other. You can type a few words next to the arrow, like “after the bank confirms”.
Timeline
Section titled “Timeline”A timeline is a list of moments, one row each. Every row has:
- a dot whose color you pick with Dot color,
- a When label, like “3 Nov” or “Week 2”,
- the text of what happened. Blocks nested under the row add detail.
Number
Section titled “Number”A number shows one big value, like 42% or 5, with a line under it saying what it counts. Click the value to change it, and use Number color to color it. Put a few numbers in columns to show them side by side.
Choice
Section titled “Choice”A choice is a question with a row of answers, like Yes, No and Not sure. Click an answer to pick it, and click it again to clear it. It works like a to-do with more than two answers: everyone on the page sees the same pick, and agents read it.
Click Edit options to change the answers. Separate them with |, from 2 to 10 answers. People who can only view the page see the pick but can’t change it.
To let each person give their own answer instead, use an HTML block that saves values.
HTML block
Section titled “HTML block”An HTML block shows your own HTML, CSS and JavaScript in a frame inside the page. Use it for what the other blocks can’t show, like an animated diagram or a small simulation.
Click Add HTML, paste the HTML and click Save. Click Edit HTML to change it later. See HTML blocks for what an HTML block can and can’t do.
An embed shows something from another site inside the page. Paste a link where it says Paste a link, such as a Google Doc, Figma file or video and click Embed link, or click Upload an HTML file.
| Link | Shows as |
|---|---|
| YouTube, Vimeo, Loom | A video player |
| Figma files, designs, prototypes, boards and slides | The Figma viewer |
| Google Docs, Sheets and Slides | A preview of the document |
| Google Drive files | A preview of the file |
| Miro boards | The board |
| An uploaded HTML file | The file, running in a sandbox |
| Any other link | A link that opens in a new tab |
Drag the bottom edge of an embed to change its height, from 120 to 2,000 pixels. The other site decides what people see, so someone who can’t open the Google Doc won’t see it in Lyra either.
Table of contents
Section titled “Table of contents”A table of contents lists every heading on the page as a link. It updates as you add or rename headings.
Synced block
Section titled “Synced block”A synced block shows the same blocks on several pages. You change it in one place, and every copy shows the change.
- Add a Synced block and write its content inside it. This is the original.
- Click Copy and sync on it.
- On another page, type
/paste synced blockand pick Paste synced block.
The copy says Synced from and the name of the original’s page. It can’t be edited where it is: click the page name to go to the original and change it there. Copies check for changes every 15 seconds and when you come back to the window.
If the original is deleted, or you can’t open its page, the copy says The original synced block was deleted, or you don’t have access to it.
Button
Section titled “Button”A button adds a row to a database and opens it, so people can file a request or add a task in one click.
- Add a Button and click Set up.
- Type its label, like “New request”.
- Click Pick a database and choose where the rows go.
- If the database has templates, pick one in Start from, or keep The default template.
People who can’t edit the database see the button greyed out. See databases.
Related
Section titled “Related”- The editor
- Markdown and directives, to write these blocks as text
- HTML blocks