Skip to content
GaudiGaudi Design System home

Search documentation

Search every page, heading and paragraph.

Terminal

Terminal renders mac-style shell examples with typed commands and structured output lines.

CoreData Display@gaudi/design-system/core/TerminalView in StorybookSource

Installation

pnpm add github:ahmadassaf/design-system

Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.

import Terminal from '@gaudi/design-system/core/Terminal';

Usage

import { Terminal } from '@gaudi/design-system';
<Terminal title='blog — zsh' username='ahmad' commands={[ { command: 'pnpm test:ds-contracts', output: [{ text: '85 component contracts passed.', tone: 'success' }] }, ]}/>

Examples

Playground

Storybook

Legacy Outputs

Storybook

API

16 props

Accessibility

Terminal renders readable command history inside a labelled region. Motion is disabled when users prefer reduced motion.