Opisywanie interfejsu słowami
Zamień wygląd i charakter interfejsu w prompt
Opisywanie interfejsu słowami to bezpłatna lekcja Vibe Coding na CoddyKit. To lekcja 1 z 4. Możesz przeczytać całą lekcję poniżej za darmo — a potem ćwiczyć ją interaktywnie w przeglądarce z wbudowanym edytorem kodu i tutorem AI dostępnym 24/7. To część ścieżki edukacyjnej Vibe Coding, a Twój postęp synchronizuje się między webem a aplikacją CoddyKit. Kurs Vibe Coding zawiera 4 lekcji w sumie.
Części tej lekcji nie zostały jeszcze przetłumaczone i są wyświetlane po angielsku.
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.
Ucz się JavaScript dzięki korepetycjom AI — za darmo
Pisz i uruchamiaj kod w przeglądarce, otrzymuj natychmiastową pomoc od korepetytora AI dostępnego 24/7 i kontynuuj naukę w sieci lub w aplikacji.
- Kursy
- 25
- Lekcje
- 100
Często zadawane pytania
Czy lekcja „Opisywanie interfejsu słowami” jest bezpłatna?
Tak — pełny tekst „Opisywanie interfejsu słowami” jest dostępny za darmo tutaj w sieci. Aby ćwiczyć ją interaktywnie (wbudowany edytor kodu i tutor AI dostępny 24/7) i odblokować resztę kursu Vibe Coding, przejdź na CoddyKit PRO. Kurs Vibe Coding zawiera 4 lekcji w sumie.
Co nauczysz się w „Opisywanie interfejsu słowami”?
Zamień wygląd i charakter interfejsu w prompt Ćwiczysz Vibe Coding z praktycznym kodem, który uruchamiasz bezpośrednio w przeglądarce, a tutor AI dostępny 24/7 odpowiada na Twoje pytania podczas pracy nad lekcją.
Czy potrzebuję doświadczenia, aby zacząć Vibe Coding?
Nie wymagamy żadnego doświadczenia. Vibe Coding w CoddyKit jest strukturyzowany dla początkujących i zaawansowanych użytkowników, więc możesz zacząć tutaj lub od początku i uczyć się w swoim tempie. To lekcja 1 z 4.
Ile czasu zajmuje lekcja „Opisywanie interfejsu słowami”?
Większość lekcji CoddyKit trwa około 5–10 minut. Każda lekcja to mały, interaktywny krok, dzięki czemu robisz systematyczne postępy i zawsze wracasz dokładnie do tego samego miejsca — na webie i w aplikacji.
Czy mogę pisać i uruchamiać kod w tej lekcji Vibe Coding?
Tak. Każda lekcja Vibe Coding zawiera wbudowany edytor kodu, więc piszesz i uruchamiasz prawdziwy kod bezpośrednio w przeglądarce i od razu otrzymujesz sprzężenie zwrotne od AI — bez konfiguracji na komputerze.
Wszystkie lekcje w tym kursie
- Opisywanie interfejsu słowami
- Generowanie komponentów
- Stylizacja i motywy
- Tworzenie responsywnego interfejsu