UIを言葉で説明する
見た目や操作感をプロンプトに変えます。
「UIを言葉で説明する」はCoddyKit上の無料Vibe Codingレッスンです。 これはレッスン1/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはVibe Coding学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Vibe Codingコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
Your Words Are the Design Tool
Welcome to Designing UIs by Prompt. Here's the magic of vibe coding: you don't need to be a designer or learn complex software like Figma to get a beautiful interface. You describe the look and feel in plain English, and tools like v0 and Lovable generate a real, working UI.
In this lesson you'll learn how to turn a vague idea in your head ("a clean, modern landing page") into a precise prompt that AI can actually build.
The Anatomy of a UI Prompt
A great UI prompt usually answers four questions: What is it (a page, a card, a form)? Who is it for? What vibe should it have? And what content goes in it?
Vague prompts get vague results. Specific prompts get the design you imagined. Compare the two example prompts below.
VAGUE:
"Make me a landing page."
SPECIFIC:
"Create a landing page for a meditation app called Calmly.
Audience: stressed professionals. Vibe: soft, calming, minimal.
Include a hero with a headline, subheadline, and a 'Start free trial'
button, followed by a 3-column features section."Naming the Vibe
The single most powerful word in a UI prompt is the adjective. Words like minimal, playful, brutalist, elegant, retro, corporate, futuristic instantly steer the entire design.
Don't just say "nice" — that means nothing to an AI. Pick 2-3 concrete vibe words and stack them. Tools like v0 and Lovable respond strongly to this.
"Design a pricing page with a clean, modern, slightly playful vibe.
Think Notion meets Duolingo: lots of whitespace, rounded corners,
friendly sans-serif font, and one bright accent color."Borrowing Reference Vibes
A pro trick: reference apps and brands the AI already knows. Saying "like Stripe" or "like Airbnb" packs a thousand design decisions into two words.
This works because models like the ones behind v0 and Lovable have seen these well-known designs. Use them as shortcuts, then customize.
"Build a dashboard with a layout and feel similar to Linear:
dark theme, crisp typography, subtle borders, dense but calm.
Replace their content with stats for a fitness tracking app."Describing Layout in Words
Beyond vibe, you can describe structure. Use spatial words the AI understands: top, hero, two-column, grid, sidebar, sticky header, footer.
Think of it like sketching with sentences. Walk top to bottom through the page.
"Page structure top to bottom:
1. Sticky navbar with logo on the left, 3 links and a button on the right.
2. Full-width hero: big headline, short paragraph, two buttons.
3. A 3-column grid of feature cards with icons.
4. A centered testimonial section.
5. A footer with 4 columns of links."Color and Typography Cues
You can hand the AI a color direction without picking exact hex codes. Say things like "warm earthy tones" or "a deep blue primary with a coral accent."
For fonts, describe the feeling: "a friendly rounded sans-serif" or "a serious serif for a law firm." You'll fine-tune exact values later — for now, set the mood.
"Color palette: a deep navy background, off-white text,
and a single vibrant teal accent for buttons and links.
Typography: a clean geometric sans-serif, large and confident headings."Show, Don't Just Tell
Most modern UI tools (v0, Lovable, Bolt) let you upload a screenshot or sketch. A picture removes ambiguity instantly.
Even a rough phone photo of a napkin sketch works. Pair the image with words: "Build this layout, but make it modern and use my brand colors." This is the fastest way to get exactly what you pictured.
"[image attached: hand sketch of a profile page]
Recreate this layout as a polished React component.
Keep the structure but make it look premium and modern."A Tiny Bit of HTML
Under the hood, the AI is writing real HTML. You don't have to read it, but recognizing the shape helps you describe what you want. A 'hero' section is often just a heading and a button inside a container.
Here's the kind of simple markup a UI prompt produces.
<section class="hero">
<h1>Find calm in 5 minutes a day</h1>
<p>Guided meditations for busy people.</p>
<button>Start free trial</button>
</section>Iterate, Don't Restart
Your first generated screen is a starting point, not the final answer. The real skill is refining with follow-up prompts: "make the hero taller," "swap the button to the right," "more whitespace."
Treat it like a conversation with a designer. Small, specific nudges beat re-describing the whole page from scratch.
Follow-up prompts after the first generation:
"The headline is too small — make it about twice as large."
"Add more breathing room between the feature cards."
"Change the accent color from blue to a warm orange."A Reusable Prompt Template
Keep a fill-in-the-blank template handy so you never stare at a blank box. Combine purpose, audience, vibe, structure, and colors into one block and let the tool do the rest.
"Create a [page type] for [product], a [one-line description].
Audience: [who]. Vibe: [2-3 adjectives], similar to [reference app].
Structure (top to bottom): [list sections].
Colors: [palette]. Fonts: [feel].
Make it responsive and use placeholder content where needed."Try It in a Real Tool
Open v0.dev or Lovable, paste a filled-in template, and watch a real UI appear in seconds. Then practice the iteration loop: generate, look, nudge, repeat.
The more concrete your words, the less you'll have to fix afterward. This single skill — describing UIs precisely — powers everything in this course.
"Create a landing page for TrailMate, an app that finds nearby hiking
trails. Audience: weekend adventurers. Vibe: outdoorsy, fresh, friendly,
similar to Airbnb. Structure: navbar, hero with search bar, 3-column
trail cards, a map section, and a footer. Colors: forest green and warm
sand. Make it responsive."Quick Check
Which prompt is most likely to produce the UI you imagined?
Recap: You Designed With Words
You learned to turn a fuzzy look-and-feel into a precise prompt. The recipe: state what it is and who it's for, name a concrete vibe (with reference apps as shortcuts), describe the layout top to bottom, hint at colors and fonts, and optionally attach a sketch.
Then you iterate with small follow-up nudges instead of restarting. Next up: generating individual components like buttons, cards, and forms on demand.
よくある質問
「UIを言葉で説明する」レッスンは無料ですか?
はい。「UIを言葉で説明する」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Vibe Codingコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Vibe Codingコースには全4レッスンが含まれています。
「UIを言葉で説明する」で何を学びますか?
見た目や操作感をプロンプトに変えます。 ブラウザで直接実行するハンズオンコードでVibe Codingを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
Vibe Codingを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのVibe Codingは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン1/4です。
「UIを言葉で説明する」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このVibe Codingレッスンでコードを書いて実行できますか?
はい。すべてのVibe Codingレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- UIを言葉で説明する
- コンポーネントを生成する
- スタイリングとテーマ設定
- レスポンシブにする