Skip to content

Search

Terminal

ComponentLayout Source

A window whose title bar is a shell prompt, such as ~/ben $ cat contact, with the command's output inside. Set in the mono font, for short facts like contact details.

Terminal(props: TerminalProps): Element

Props

commandrequiredstring

The command in the title bar, such as cat contact.

authoroptionalAuthor

Defaults to defaultAuthor, whose home directory the prompt starts from.

cwdoptionalstring

A directory under the author's home, such as work.

childrenrequiredComponentChildren

design-system is a Ben Hodgson projectGitHub