Skip to content
PixiKit

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
NameTypeDefaultDescription
announcement{ text: string; href?: string }DEFAULT_ANNOUNCEMENTThe small line above the headline; with `href` it becomes a link with an arrow.
titlestring"Ask once.\nGet it done."The headline; a line break splits it into two lines.
descriptionstring"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_PRIMARYThe main button.
secondaryAction{ label: string; href: string }DEFAULT_SECONDARYThe outline button.
tabsDotConsoleTab[]DEFAULT_TABSThe tabs of the console.
defaultTabstringNoneThe id of the tab that starts active; the first tab by default.
onSubmit(event: { tab: string; value: string }) => voidNoneCalled with the active tab and the text when Enter is pressed or the button is clicked.
inputLabelstring"Prompt"The accessible name of the prompt input.
submitLabelstring"Run"The accessible name of the submit button.
bandsbooleantrueShows the dot bands behind the content.
classNamestringNone

Related