Terminal
Animated terminal emulator component for React and Next.js applications. Built with TypeScript support, Tailwind CSS styling, and shadcn/ui design featuring typing effects, macOS styling, and Motion animations.
Powered by
Installation
npx shadcn@latest add https://www.shadcn.io/registry/terminal.json
npx shadcn@latest add https://www.shadcn.io/registry/terminal.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/terminal.json
bunx shadcn@latest add https://www.shadcn.io/registry/terminal.json
Examples
Basic Terminal
Use Cases
- Demo presentations - Code execution simulations and live coding displays
- Documentation - Command line tutorials and installation guides
- Portfolio sites - Developer showcases with terminal-style interactions
- Educational content - Programming tutorials with realistic terminal output
Implementation
Built with Motion for smooth typing animations. Uses configurable delays and speeds. Supports polymorphic elements and custom styling. macOS-inspired design with responsive layout.
Features
- macOS styling - Terminal window with traffic light controls using Tailwind CSS design
- Typing animations - Real-time text simulation with configurable speeds using Motion library
- Animated spans - Text elements with customizable delays using JavaScript timing
- Responsive design - Adapts to different screen sizes for React applications
- Accessibility markup - Semantic structure with screen reader support for Next.js projects
- Polymorphic elements - Custom element support through
as
prop using TypeScript generics - Customizable styling - Complete appearance control with className props using shadcn/ui theming
- Open source - Free terminal component with Motion animations and accessibility features
Status
Service status indicator component for React and Next.js applications. Built with TypeScript support, Tailwind CSS styling, and shadcn/ui design featuring automatic colors, ping animations, and customizable labels.
Video Player
Composable video player component for React and Next.js applications. Built with TypeScript support, Tailwind CSS styling, and shadcn/ui design featuring media-chrome integration, keyboard controls, and cross-browser compatibility.