Terminal
Terminal sequences child output and typing effects supplied by your application.
Practical React example
Present a scripted command walkthrough as an illustration, clearly separate from a live terminal.
Before you copy and paste
Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/terminal.tsx and its returned support files from the Code tab; preserve the project-relative paths.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Present a scripted command walkthrough as an illustration, clearly separate from a live terminal
// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';
import {
AnimatedSpan,
Terminal,
TypingAnimation,
} from "@/components/magicui/terminal"
export function ComponentExample() {
return (
<Terminal>
<TypingAnimation>pnpm dlx shadcn@latest init</TypingAnimation>
<AnimatedSpan>✔ Preflight checks.</AnimatedSpan>
<AnimatedSpan>✔ Validating Tailwind CSS.</AnimatedSpan>
<TypingAnimation>Success! Project initialization completed.</TypingAnimation>
</Terminal>
);
}
Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.
Use static, reviewed commands and explain whether the transcript is simulated. Keep real execution, credentials and permission checks outside this component.
Customization
- AnimatedSpanProps.children
- Required; React.ReactNode.
- AnimatedSpanProps.delay
- Optional; number.
- AnimatedSpanProps.className
- Optional; string.
- AnimatedSpanProps.startOnView
- Optional; boolean.
- TypingAnimationProps.children
- Required; string.
- TypingAnimationProps.className
- Optional; string.
- TypingAnimationProps.duration
- Optional; number.
- TypingAnimationProps.delay
- Optional; number.
- TypingAnimationProps.as
- Optional; MotionElementType.
- TypingAnimationProps.startOnView
- Optional; boolean.
- TerminalProps.children
- Required; React.ReactNode.
- TerminalProps.className
- Optional; string.
- TerminalProps.sequence
- Optional; boolean.
- TerminalProps.startOnView
- Optional; boolean.
Integration notes
- The component displays text and does not run shell commands.
- Do not make users wait through a typing effect to obtain essential installation instructions; provide copyable static text too.
Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.