---
title: "Code Snippet - Apple Terminal Grass"
description: "Apple Terminal Grass profile: black background with green text, per-character typing animation of a shell session."
---
import { InstallCommand } from "/snippets/install-command.jsx";
## Install
That writes one file: `compositions/code-snippet-apple-terminal-grass.html`.
## Source
```html
Apple Terminal Grass
Last login: Mon Jun 2 09:14:22 on ttys004
Running test suite...
✓ should initialize with defaults (2ms)
✓ should parse config correctly (4ms)
✓ should handle empty input (1ms)
✓ should reject invalid tokens (3ms)
✓ should emit events on change (5ms)
✓ should clean up on destroy (2ms)
6 passing (18ms)
user@Mac ~ %
```
## Usage
After installing, add the block to your host composition:
```html
```
## Features
- Faithful recreation of macOS Terminal.app Grass profile — black background with #00C100 green text
- macOS window chrome with green-accented title bar and traffic light buttons
- Per-character GSAP typing animation — command types out character by character
- Output lines reveal sequentially after command executes
- Cursor blinks three times at the end then holds steady
- Self-contained HTML — no external assets, only GSAP CDN
{/* hf:generated-footer */}
Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
## Related topics
- [Browse the complete Catalog](/catalog)
- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
- [Build a richer composition](/go-further)