MeaChat
Docs / Developer Experience

Developer Experience

The DeveloperExperience component highlights the ease of use of your tool, featuring a feature list and a simulated terminal window.

Usage

import DeveloperExperience from '~/components/sections/DeveloperExperience.astro';

<DeveloperExperience 
  title="Built for Speed"
  features={['Instant server start', 'Hot Module Replacement']}
  terminal={{
    comment: 'Start the dev server',
    command: { tool: 'npm', args: 'run dev' },
    successSteps: ['Server started in 10ms', 'Watching for changes...'],
    readyMessage: 'Ready on http://localhost:3000'
  }}
/>

Example

Zero config needed

  • TypeScript ready
  • Automatic routing
  • Edge deployed
  • API routes included
# Initialize a new project
npx
create-awesome-app@latest
βœ“ Resolving dependencies...
βœ“ Scaffolding project...
βœ“ Installing packages...
Done! Happy coding. _

Props

PropTypeDescription
titlestringThe section heading.
featuresstring[]List of feature bullet points.
terminalTerminalPropsConfiguration object for the terminal window.

TerminalProps

interface TerminalProps {
  comment: string;        // Comment line (e.g. # Start server)
  command: {
    tool: string;         // Tool name (e.g. npm)
    args: string;         // Command args (e.g. run dev)
  };
  successSteps: string[]; // Array of success messages
  readyMessage: string;   // Final ready prompt
}