Dot Console
A centred hero over diagonal bands of dots, with a console inside a dotted frame: tabs that grow when active, tooltips on hover, and a prompt line that types and erases its own examples.
pixikit.com/docs/blocks/heroes/dot-console
Customize
Bands
Props
12| Name | Type | Default | Description |
|---|---|---|---|
announcement | { text: string; href?: string } | DEFAULT_ANNOUNCEMENT | The small line above the headline; with `href` it becomes a link with an arrow. |
title | string | "Ask once.\nGet it done." | The headline; a line break splits it into two lines. |
description | string | "Search, read and watch the web from one prompt line, then keep the answers in a single place." | The line under the headline. Leave empty for none. |
primaryAction | { label: string; href: string } | DEFAULT_PRIMARY | The main button. |
secondaryAction | { label: string; href: string } | DEFAULT_SECONDARY | The outline button. |
tabs | DotConsoleTab[] | DEFAULT_TABS | The tabs of the console. |
defaultTab | string | None | The id of the tab that starts active; the first tab by default. |
onSubmit | (event: { tab: string; value: string }) => void | None | Called with the active tab and the text when Enter is pressed or the button is clicked. |
inputLabel | string | "Prompt" | The accessible name of the prompt input. |
submitLabel | string | "Run" | The accessible name of the submit button. |
bands | boolean | true | Shows the dot bands behind the content. |
className | string | None |