Prompt Coding Limited info

Generate a Modern UI from a Text Description

A short user prompt that asks for a UI for a described product, with three style rules: modern and sleek, professional fonts and colours, and UX best practices.

  • 🤖 Any chat LLM
  • 🗂️ Coding

Prompt by Abi Raja (abi/screenshot-to-code) · Original source (opens in a new tab)

Generate a Modern UI from a Text Description — prompt preview

The prompt

prompt
Generate UI for {text_prompt}.
{selected_stack}
{design_system_block}

# Instructions

- Make sure to make it look modern and sleek.
- Use modern, professional fonts and colors.
- Follow UX best practices.
- {image_policy}

What it is

A short user prompt that asks for a UI for a described product, with three style rules: modern and sleek, professional fonts and colours, and UX best practices. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the screenshot-to-code repository (MIT licence, Copyright (c) 2023 Abi Raja). Licence: https://github.com/abi/screenshot-to-code/blob/main/LICENSE. Original author: Abi Raja (abi/screenshot-to-code). Changes by FoxaMind: Python string quotes removed; placeholders keep the source syntax.

Who it's for

  • Developers
  • Founders sketching a first UI

موجّه قصير يطلب بناء واجهة لمنتج موصوف نصيًا مع ثلاث قواعد أسلوبية: عصري وأنيق، خطوط وألوان احترافية، وأفضل ممارسات تجربة المستخدم.

Tips

  • {text_prompt}, {selected_stack}, {design_system_block} and {image_policy} are template fields filled in by the app.
  • The source pairs this with the front-end agent system prompt.