Skip to main content

Examples

Basic Usage

Define a SQL query

Attributes

string
The language of the code block
string
The content of the code block
string
Optional name for the code block. If provided and language is “sql”, this will register the query as an inline query that can be used by other components. Inline queries must be defined at the top level of the page, not inside other components (e.g. tabs, accordion, details).
number
Set the width of this component (in percent) relative to the page width