Menjelaskan UI dengan Kata-Kata
Ubah tampilan dan nuansa menjadi prompt.
Menjelaskan UI dengan Kata-Kata adalah pelajaran Vibe Coding gratis di CoddyKit. Ini adalah pelajaran 1 dari 4. Kamu bisa membaca pelajaran lengkapnya di bawah secara gratis — lalu praktikkan langsung di browser dengan editor kode bawaan dan tutor AI 24/7. Ini adalah bagian dari jalur belajar Vibe Coding, dan progresmu tersinkronisasi di web dan aplikasi CoddyKit. Kursus Vibe Coding mencakup 4 pelajaran total.
Bagian dari pelajaran ini belum diterjemahkan dan ditampilkan dalam bahasa Inggris.
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.
Pertanyaan yang Sering Diajukan
Apakah pelajaran “Menjelaskan UI dengan Kata-Kata” gratis?
Ya — teks lengkap “Menjelaskan UI dengan Kata-Kata” gratis dibaca di sini di web. Untuk praktiknya secara interaktif (editor kode bawaan dan tutor AI 24/7) dan buka sisa kursus Vibe Coding, upgrade ke CoddyKit PRO. Kursus Vibe Coding mencakup 4 pelajaran total.
Apa yang akan aku pelajari di “Menjelaskan UI dengan Kata-Kata”?
Ubah tampilan dan nuansa menjadi prompt. Kamu berlatih Vibe Coding dengan kode praktik yang langsung kamu jalankan di browser, dan tutor AI 24/7 menjawab pertanyaanmu saat kamu mengerjakan pelajaran ini.
Apakah aku perlu pengalaman untuk memulai Vibe Coding?
Tidak diperlukan pengalaman sebelumnya. Vibe Coding di CoddyKit dirancang untuk pemula hingga pelajar tingkat lanjut, jadi kamu bisa memulai di sini atau dari awal dan belajar sesuai kecepatan kamu sendiri. Ini adalah pelajaran 1 dari 4.
Berapa lama pelajaran “Menjelaskan UI dengan Kata-Kata” memakan waktu?
Sebagian besar pelajaran CoddyKit memakan waktu sekitar 5–10 menit. Setiap pelajaran ringkas dan interaktif, jadi kamu membuat kemajuan stabil dan melanjutkan dari tempat kamu tinggalkan di web dan aplikasi.
Bisakah aku menulis dan menjalankan kode dalam pelajaran Vibe Coding ini?
Ya. Setiap pelajaran Vibe Coding menyertakan editor kode bawaan, jadi kamu menulis dan menjalankan kode nyata langsung di browser dan mendapatkan umpan balik AI instan — tidak diperlukan penyiapan lokal.
Semua pelajaran dalam kursus ini
- Menjelaskan UI dengan Kata-Kata
- Membuat Komponen
- Penataan Gaya dan Tema
- Membuatnya Responsif