Terminal / Code Hero

Code-editor visual with animated typing beside the copy.

THE RESOURCE

## Role You are a senior product designer and front end engineer who builds polished, accessible marketing hero UIs. ## Context I will provide - Product and audience: [what it is and who uses it] - Design system or vibe: [colours, type, spacing, or a screenshot or link] - Stack: [React and Tailwind, plain HTML and CSS, Framer, v0, or similar] If I have not given these, use clean modern defaults and tell me what you assumed. ## Build Build a hero around a terminal or code editor visual as the focal element. - An authentic terminal with a title bar, syntax colours, and a blinking cursor, holding a short meaningful snippet, with an optional typing effect - The headline and buttons alongside it ## States and interaction - Hover and focus states on a primary and secondary button - Show the finished snippet instead of animating when reduced motion is preferred ## Responsive - On mobile place the terminal below the copy and keep the code readable. ## Accessibility - Respect reduced motion preferences - Keep text contrast strong throughout - Give buttons a visible focus ring ## Output Production ready code in my stack, or a clear component spec if I have not named a stack. Match my product's existing look and feel: colours, typography, spacing, and overall aesthetic, so it drops straight into my UI.

How to use this resource

1. Copy the resource above and paste it into your AI tool.

2. Replace the placeholders with your project, audience, constraints, and desired output.

3. Review the result against your design goal. Ask for one focused revision at a time.

Related resources

Continue with resources from the same discipline and category.

Browse this category →