Recommended preparation

Editorial practice groupings, not verified official interview questions or endorsements.

Public xAI prep guide

xAI (now SpaceXAI) Frontend Interview Questions

Prepare with four practice prompts shaped by one public London account and the stage lists in closed official postings: a chat interface built in React during a one-hour pairing session, a small React app written in TypeScript, a UI implemented from a screenshot in HTML and CSS, and the composer and streaming turn of a grok.com-style chat product.

xAI merged into SpaceX (the merger closed on 2 February 2026) and rebranded as SpaceXAI in July 2026; on 21 October 2026 the careers page title read SpaceXSI and the job board still lived at the xai slug. The frontend postings that described a loop were removed between June 2025 and February 2026, so the loop below describes 2025 to early 2026. This guide does not claim access to private interview material, a fixed format, or the stack of every team.

4 practice promptsReact, TypeScript, HTML/CSS, AI chat designFull practice set requires Premium

Study priorities

Prepare for product judgment, not xAI trivia

The public pages reward engineers who ship a working slice under a clock while explaining it: a small React app in TypeScript that handles its loading and failure states, a layout rebuilt from a screenshot that still reflows, a chat interface that can send, show a reply arriving and stop it. The one London account adds React questions asked in passing, such as what useCallback does, so each hook you use should come with a one-sentence reason. Each prompt below starts with the clarifying questions a strong candidate asks, then the behaviours a strong answer covers, then the miss that usually ends the round.

Treat the postings as a shape, not a script. The closed London posting gave 45 minutes each to a React round and an HTML/CSS/Tailwind round; the Bay Area postings described a coding assessment in a language of your choice, one or two React/TypeScript interviews and a "Meet the Team" session where you present past exceptional work. Practise the timed builds first, then rehearse the ten-minute story of work you are proud of, because the application itself asks for a "statement of exceptional work".

Reported interview process

xAI (now SpaceXAI) frontend interview process

The careers page describes four generic steps and says engineers, not recruiters, evaluate applications. The closed frontend postings from March 2025 to February 2026 shared one template: a review of the CV and a "statement of exceptional work", a 15-minute phone interview with basic technical questions, then the team's main process on Google Meet with the goal of finishing within one week. For frontend roles that meant a React coding interview in TypeScript, an HTML/CSS interview from a screenshot, and a team or founding-engineer stage. One London account from August 2025 matches the React round.

Every frontend posting with a loop was removed between June 2025 and February 2026, and on 21 October 2026 the board had no frontend posting with interview text, so this table describes the 2025 to early-2026 loops. The loop varies by team: Bay Area postings added a coding assessment and a systems session, London postings did not, and the take-home row comes from one general software-engineer account rather than a frontend posting. The "Software Engineer Specialist" loops with a CodeSignal assessment are left out as a separate track. Sources last checked Oct 2026.

Frontend engineers, London and Bay Area, from postings 2025-03 to 2026-02 and one London account

Thin evidence: one public frontend account read in full. Stages marked "postings only" rest on the closed postings alone.

StageWhat happensWhoEvidence
Application review Engineers, not recruiters, review the CV and a "statement of exceptional work". All rolesOfficial page
Screening A 15-minute "phone interview" with "some basic technical questions". All rolesOfficial page and one report
React coding interview "Write a small app in React" in TypeScript; 45 minutes in London; one or two interviews on Bay Area teams. The one account built a chat interface in a one-hour pair-coding session with live review and React questions such as what useCallback does. Practice: React fetch and render a listFrontend roles on the closed 2025 to 2026 postingsOfficial page and one report
HTML/CSS interview "Given a screenshot of a UI, implement it"; 45 minutes with Tailwind in London. Postings only. Practice: Grid card galleryFrontend roles on the grok.com & API, Enterprise and London postingsOfficial page
Coding assessment in a language of your choice A general coding round before the frontend interviews. Postings only. Grok Studio and Autonomous Agents postingsOfficial page
Systems hands-on "Demonstrate practical skills in a live problem-solving session." Posting only. Practice: AI chat composer and streaming turnAutonomous Agents postingOfficial page
Meet the team or founding engineer Bay Area: "Present your past exceptional work and your vision with xAI to a small audience." London: 30 minutes with founding engineer Toby Pohlen. Practice: Behavioural storiesAll rolesOfficial page
UI design exercise and presentation "Design a UI in a tool of your choice (e.g. Figma or Photoshop)" and a 20-minute presentation of previous design projects and complex UI flows. Posting only. Frontend Engineer & UI/UX Designer posting onlyOfficial page
Take-home and code-reading final A four-hour AI-assisted product build from one of six prompts, submitted as a GitHub repository with a Loom walkthrough within 24 hours, then a one-hour in-person session on an existing class. One general software-engineer loop from December 2025; not on any frontend postingOne public report, 2025

Representative practice prompts

Four xAI frontend interview practice questions

For each prompt, clarify the contract, explain ownership and trade-offs, implement or diagram the smallest credible slice, and test the failure cases. Each prompt links to the public report or official posting it is modelled on and to a runnable practice page; the fourth prompt is modelled on the reported chat-interface round plus the product domain and carries no account of a design round.

Prompt 1

Build a chat interface in React during a one-hour pairing session

One London account describes a one-hour pair-coding session: build a chat interface in React while an engineer from the team reviews the code live, with React questions along the way such as what useCallback does. Practise the same shape: a message list, a composer, a status per message, and an assistant reply that renders as it arrives.

Practice version modelled on a reported round: Public report: xAI Frontend Engineer interview account, London, on Taro, August 2025

What this measures

Scoping under a clock, component and state boundaries, controlled inputs and list rendering, explaining hooks while typing, and taking live review without losing the thread.

Clarify first

  • Confirm whether the reply arrives at once or as a stream, whether a mock is acceptable, and what the interviewer wants to see working first.
  • Confirm the setup: TypeScript or JavaScript, any starter code, and whether styling matters inside the hour.

Strong answer should cover

  • Say the plan before coding: one messages array as the source of truth, a composer with a controlled value, and a status per message (sending, sent, failed).
  • Render the list from state, key each item by a stable id, and keep the scroll pinned to the latest message until the reader scrolls up.
  • Explain each hook as you use it: useCallback keeps a stable handler reference for a memoised child and changes nothing where no child memoises.
  • Keep Send disabled on a blank draft and while a reply is in flight, and give a failed send a visible retry that does not duplicate the user turn.

Common miss: Building a polished layout first and reaching the end of the hour with a composer that cannot send, or wrapping every handler in useCallback without being able to say what it changes.

Practice the chat UI with a streaming response (Premium)

Prompt 2

Write a small app in React with TypeScript in 45 minutes

The closed grok.com & API and Enterprise postings describe a "Coding interview in TypeScript: Write a small app in React"; the closed London posting gave its React coding interview 45 minutes. Practise a complete small app: fetch a list, render loading, error and empty states, and add a filter, with types on the data and the props.

Practice version modelled on a reported round: Official posting: xAI React Frontend Engineer, grok.com & API, Built In, January 2026

What this measures

Typed React under time, request handling with cancellation, truthful loading, empty and error states, and whether the app works end to end before any polish.

Clarify first

  • Confirm the data source (a real endpoint, a mock or a fixture) and which feature the interviewer wants first.
  • Confirm the TypeScript strictness and whether any library beyond React is allowed.

Strong answer should cover

  • Type the response and the component props before fetching, and keep the raw list separate from the filtered view.
  • Start the request in an effect with an AbortController and ignore a response that belongs to a superseded render or an unmounted component.
  • Render four explicit states, loading, error with retry, empty and populated, instead of inferring them from the length of an array.
  • Finish a working vertical slice early, then add the filter and say what you would do with another hour.

Common miss: Spending the first fifteen minutes on folder structure and styling, so the fetch and its failure states are untested when time runs out.

Practice fetching and rendering a list with every state

Prompt 3

Implement a UI from a screenshot in HTML and CSS

Three closed postings describe an "HTML/CSS interview: Given a screenshot of a UI, implement it"; the closed London posting gave the round 45 minutes and named Tailwind. Practise rebuilding a card gallery, then a navigation bar, from a picture alone: match spacing, alignment and responsive reflow without a design file.

Practice version modelled on a reported round: Official posting: xAI Frontend Engineer, London, Built In London, February 2026

What this measures

Reading layout from a picture, choosing grid or flexbox per region, spacing and typography discipline, responsive behaviour and semantic markup under time.

Clarify first

  • Confirm which breakpoints matter, whether pixel accuracy or structure is being judged, and whether Tailwind or plain CSS is expected.
  • Confirm the content: real text and images or placeholders, and whether hover and focus states are in scope.

Strong answer should cover

  • Name the regions first (header, grid, card, footer) and decide grid versus flexbox for each before writing markup.
  • Write semantic HTML (nav, ul, article, button) so the structure reads correctly without styles.
  • Use a spacing scale and a handful of tokens instead of per-element magic numbers, so the result stays consistent when a breakpoint changes.
  • Check reflow at a narrow width, keep focus styles visible, and move to the second drill, the responsive flexbox navbar, once the gallery holds.

Common miss: Positioning everything absolutely to match the screenshot at one width, so the layout breaks as soon as the viewport or the text changes.

Practice the grid card gallery from a layout brief

Prompt 4

Design the AI chat composer and streaming turn for a grok.com-style product

Design the composer and the streaming turn for a grok.com-style chat product: Send that becomes Stop while a reply streams, regenerate that does not duplicate a turn, stale stream events that cannot touch the new turn, and token-by-token rendering that stays readable. This practice version is modelled on the reported chat-interface round plus the product domain of the Grok postings; no public account describes a design round for an xAI frontend role.

Practice version modelled on a reported round: Public report: xAI Frontend Engineer interview account, London, on Taro, August 2025

What this measures

State ownership across draft, active turn and history; stream and command identity; cancellation and recovery; rendering performance under a token stream; and accessibility of streamed text.

Clarify first

  • Confirm the transport (SSE, WebSocket or a fetch stream) and whether the server can resume a stream by sequence number.
  • Confirm what Stop must guarantee: a server-side stop or only a local abort with partial text kept.

Strong answer should cover

  • Give each send and each stream a stable identity and drop events whose id does not match the active turn.
  • Model the turn as a small state machine (idle, sending, streaming, stopped, failed) and derive the Send or Stop button from it instead of from scattered booleans.
  • Batch rendered tokens per animation frame and keep the scroll pinned to the bottom until the reader scrolls up.
  • Define regenerate as a new turn that reuses the prompt and retires the old stream, and announce status changes to assistive technology.

Common miss: Showing Stop as done while the old stream keeps appending, because the abort was local and the stream id was not checked.

Work through the AI chat composer case

Public mini walkthrough

Scope the chat interface before the first line of the pairing session

Treat this as a representative exercise, not a description of the reported session. Work from the contract toward the components, and say each decision out loud so the engineer reviewing your code can follow it.

  1. Pin the message model

    One array of messages with id, role, text and status is the source of truth. The list and the latest assistant turn are derived from it, not stored twice.

  2. Build the composer

    A controlled textarea, Enter to send and Shift+Enter for a newline, Send disabled on a blank draft, and the draft cleared only once the send is accepted.

  3. Show the streaming state

    Append an assistant message with status streaming, update its text as chunks arrive, and render a visible indicator so the reader knows more is coming.

  4. Add Stop and retry

    Stop aborts the request through an AbortController and marks the message stopped; a failed send keeps the draft and offers a retry that does not duplicate the user turn.

  5. Keep it reachable from the keyboard

    Focus returns to the composer after a send, the message list is a polite live region, and Stop is a real button with an accessible name.

Actionable preparation

A 7-day xAI frontend interview preparation plan

Every day ends with code, a test, a design artifact, or a question you can use in the real process.

  1. Day 1

    React fundamentals you may be asked to explain while coding: useCallback and useMemo, useRef versus useState, effects and cleanup.

    Deliverable: Thirty-second spoken answers for useCallback, useMemo and useRef, written down.

  2. Day 2

    A small typed React app: fetch, abort, loading, error, empty, filter.

    Deliverable: The fetch-and-render drill passing with all four states, timed at 45 minutes.

  3. Day 3

    HTML/CSS from a screenshot: the grid gallery, then the flexbox navbar, with Tailwind if the role names it.

    Deliverable: Two layouts rebuilt from a picture, checked at a narrow and a wide width.

  4. Day 4

    The chat interface in one hour: message list, composer, status per message, streamed reply.

    Deliverable: A chat interface built in one timed hour with a written list of what you cut.

  5. Day 5

    AI chat design: stream identity, Stop versus abort, regenerate, token batching.

    Deliverable: A one-page state and recovery diagram for the composer and the active turn.

  6. Day 6

    Exceptional work: the statement the application asks for and the "Meet the Team" presentation the Bay Area postings described.

    Deliverable: A ten-minute walkthrough of one piece of work you are proud of, with the decisions and the result.

  7. Day 7

    Mock loop: a 15-minute screen, a 45-minute React build and a 45-minute CSS build, each narrated.

    Deliverable: A list of the questions you will ask about format, tools, stack and the current name of the team.

Preparation FAQ

Common xAI frontend interview preparation questions

Are these the real xAI questions?

No. They are FrontendAtlas practice versions modelled on one public London account and on the stage descriptions in closed official postings. The wording, the data and the test cases are ours.

Is xAI still called xAI?

The company merged into SpaceX, with the merger closing on 2 February 2026, and rebranded as SpaceXAI in July 2026. On 21 October 2026 the careers page title read SpaceXSI while its footer named SpaceXAI LLC, and the job board still lived at the xai slug. This guide keeps the xAI name because the postings, the public accounts and search queries use it.

What does the xAI frontend interview loop look like?

The closed postings from March 2025 to February 2026 shared one pattern: engineers review the CV and a "statement of exceptional work", then a 15-minute phone interview with basic technical questions, then the team's main process on Google Meet with the goal of finishing "within one week". For frontend roles that meant a React coding interview in TypeScript (45 minutes in London), an HTML/CSS interview from a screenshot (with Tailwind in London), and either a 30-minute final stage with a founding engineer in London or a "Meet the Team" presentation of exceptional work in the Bay Area; some Bay Area postings added a coding assessment in a language of your choice. Those postings are closed and the loop varies by team, so confirm the current stages before relying on this.

Is there a take-home?

No frontend posting mentions one. Two general software-engineer accounts do: a Member of Technical Staff loop in December 2025 had a four-hour build with your own IDE and AI tools, the provided X and xAI API keys, a GitHub repository and a Loom walkthrough due within 24 hours, followed by a one-hour in-person session reading an existing class; a recruiter-sourced Grok role in October 2025 mentioned a "4-hour intensive programming challenge". Ask whether your loop includes one.

Do I need Next.js or Tailwind?

The grok.com & API posting named React with Next.js and Tailwind, and the London posting called its CSS round "HTML/CSS/Tailwind". Prepare the same layouts in plain CSS first, then once with Tailwind utilities, and confirm the stack with whoever runs your process; the careers page says technical team members, not recruiters, evaluate applications.

Public interview reports and official context

Sources and evidence limits

These links support the public context used by the guide. Their notes state what each source can and cannot establish about preparation.

Official posting: xAI React Frontend Engineer, grok.com & API, Built In, January 2026

Closed: listed from 11 to 27 January 2026 for London and Palo Alto. It described a 15-minute phone interview with basic technical questions, then two technical interviews: "Coding interview in TypeScript: Write a small app in React" and "HTML/CSS interview: Given a screenshot of a UI, implement it". The team text named React with Next.js and Tailwind.

xAI careers (SpaceXAI)

Read on 21 October 2026. Four generic steps (application review of the CV and a statement of exceptional work, a screening interview with short technical questions, technical interviews, offer) and "We generally do not use recruiters for assessments." Product context and the generic shape only; the job board that day listed no frontend posting with interview text.

Published by xAI

Official preparation pages from xAI

xAI publishes these pages itself. They describe the process and expectations in the company's own words; they do not list interview questions, and FrontendAtlas is not affiliated with xAI.

PageWhat it coversChecked
Careers page: What to expectFour steps: the team reviews the CV and a statement of exceptional work; a short screening interview with short technical questions and a review of your background; technical interviews that dive deep into your technical expertise; then an offer. The page says "We generally do not use recruiters for assessments." and that applications are evaluated by technical team members.Oct 2026
Frontend Engineer posting, London (closed February 2026)An initial technical screening with basic technical questions (15 minutes), a React coding interview (45 minutes), an HTML/CSS/Tailwind coding interview (45 minutes) and a final stage with founding engineer Toby Pohlen (30 minutes), all conducted via Google Meet.Oct 2026
React Frontend Engineer posting, grok.com & API (closed January 2026)A 15-minute phone interview with some basic technical questions, then two technical interviews: a coding interview in TypeScript to write a small app in React, and an HTML/CSS interview implementing a UI from a screenshot.Oct 2026

Full company practice

Continue with the full xAI practice set

This public guide is complete enough to plan a focused week. Premium unlocks the chat UI with a streaming response and the rest of the Premium React and system design catalogue.

Unlock the full xAI practice set