Create a Vue component from a brief

Give Autohand Code a design brief and ask it to inspect nearby components before adding a mobile-first Vue component.

Build UI that matches existing product patterns

Front-end Build and change Implementation Design

autohand -p "Create this Vue component using nearby patterns and mobile-first styling"

A component that fits the app, handles states, and avoids one-off styling.

Create a Vue component from a brief with Autohand Code is a frontend workflow that turns a UI brief into a Vue component that follows nearby patterns, theme tokens, states, and mobile-first layout. ### At a glance | Question | Answer | | --- | --- | | Best for | forms, admin panels, dashboards, empty states, product settings, and small page sections | | Primary inputs | Screenshot, Figma note, or short product brief; Page where the component will live; Required loading, empty, error, disabled, mobile, and desktop states | | Autohand Code returns | A component that fits the app, handles states, and avoids one-off styling. | | Avoid when | the design direction or target page is still missing | ### How Autohand Code handles this workflow 1. Reads nearby components, tokens, typography, spacing, and interaction patterns. 2. Builds the component with existing controls and theme variables. 3. Handles expected states without one-off visual systems. 4. Checks mobile and desktop layout for text, controls, and image collisions. ### Best inputs - Screenshot, Figma note, or short product brief - Page where the component will live - Required loading, empty, error, disabled, mobile, and desktop states ### Strong prompt autohand -p "Create this Vue component using nearby patterns and mobile-first styling" ### Autohand Code CLI options - Run `autohand -p "Create this Vue component using nearby patterns and mobile-first styling"` for a targeted UI build. - Use `/skills use frontend-ui` or `--auto-skill` when the repo has frontend-specific design conventions to load. - Use `/chrome` or the Chrome integration for browser verification when the component needs visual inspection. ### Review before accepting Review the component in browser at mobile and desktop widths, then check focus states, text fit, and dark theme behavior. ### Source and validation signals Autohand AI maintains this workflow as first-party product guidance for Autohand Code. Use the [Autohand CLI Playbook](https://github.com/autohandai/code-cli/blob/main/docs/AUTOHAND_PLAYBOOK.md), [CLI reference](/docs/working-with-autohand-code/cli-reference.html), and [configuration reference](https://github.com/autohandai/code-cli/blob/main/docs/config-reference.md) when choosing between interactive mode, command mode, auto-mode, feature-enabled /goal, /settings, skills, MCP, and permission settings. The related resources below link to product docs and tutorials for the workflow, and the final answer should name repository-specific files, commands, outputs, or docs that a reviewer can verify. ### Frequently asked questions ### What is Create a Vue component from a brief with Autohand Code? Create a Vue component from a brief with Autohand Code is a frontend workflow that turns a UI brief into a Vue component that follows nearby patterns, theme tokens, states, and mobile-first layout. ### When should a team use Create a Vue component from a brief? Use it when UI quality depends on matching the existing product rather than producing a standalone mockup. ### What evidence should reviewers check for Create a Vue component from a brief? Review the component in browser at mobile and desktop widths, then check focus states, text fit, and dark theme behavior.

Tutorial Create a Vue Component from a Design Brief Turn a UI brief into a component that follows existing patterns. /docs/tutorials/create-vue-component.html Guide Frontend UI Skill Use frontend-specific agent guidance for polished UI work. /docs/guides/skills/frontend-ui.html Guide Figma Design to Code Bring design context into implementation with MCP. /docs/guides/mcp/figma-design-to-code.html