MeDo

AI कार्ड जेनरेटर।

बताएं कि कार्ड में क्या है और MeDo पूरा कंटेनर जेनरेट करता है — मीडिया, हेडर, बॉडी और फुटर स्लॉट, hover एलिवेशन, aspect-ratio से लॉक्ड इमेज, ग्रिड में समान ऊंचाई, और मेल खाता skeleton स्टेट।

कार्ड
कार्ड

कार्ड एक लेआउट कॉन्ट्रैक्ट है, बॉर्डर वाला डिब्बा नहीं

गोल कोने और shadow एक मिनट में लिख जाते हैं, इसलिए कार्ड को मामूली समझ लिया जाता है। टूटता वह सब है जो उनके आसपास है। एक कार्ड का टाइटल दो लाइन का है और पड़ोसी का चार लाइन का, तो फुटर एक-दूसरे से अलाइन नहीं होते। एक इमेज अनपेक्षित रेशियो में आती है और paint के बाद ग्रिड फिर से बहने लगता है। कोई पूरे कार्ड को क्लिकेबल बना देता है और anchor के भीतर "Save" बटन फंसा देता है, जिससे इनवैलिड HTML और एक अनुपलब्ध कंट्रोल बनता है। ये गुण सेट में मौजूद कार्ड के हैं, अकेले कार्ड के नहीं — इसीलिए कंटेनर, मीडिया कंस्ट्रेंट, फुटर अलाइनमेंट और लोडिंग स्टेट को एक इकाई के रूप में जेनरेट करना, एक अकेले div को अच्छे से स्टाइल करने से ज़्यादा उपयोगी है।

6 टेम्पलेट

कार्ड टेम्पलेट जो आप जेनरेट कर सकते हैं

हर टेम्पलेट एक असली प्रॉम्प्ट है, स्क्रीनशॉट नहीं। इसे किसी भी AI एडिटर में कॉपी करें, या MeDo में चलाकर React + Tailwind कोड सीधे पाएं।

BasicSlots + Skeleton

Four-Slot Card With a Matching Skeleton

The container everything else extends. Generating the skeleton in the same pass is what keeps the two the same size six months later.

Create a card component with four optional slots: media at the top, a header with title and subtitle, a body for description text, and a footer for actions or metadata. White surface, 12px radius, 1px light grey border, 20px internal padding. Make the card a flex column with the body allowed to grow so the footer sits at the bottom and cards in a row stay equal height regardless of title wrapping. Lock the media to a 16:9 ratio with object-fit cover and explicit dimensions. Include a skeleton variant whose grey blocks match the real layout exactly — same media ratio, same line count, same footer height — so nothing shifts when data arrives.

MeDo में आज़माएं
CommerceProduct Card

Image, Price and Add to Cart

The hardest card to get right because it needs a whole-card link and a nested button. Wrap the card in an anchor and the button becomes invalid markup and unreachable.

Create a product card: a 1:1 image with object-fit cover and a reserved box, an optional discount badge in the top-left, the product name over two lines with a line clamp, a price row with the current price and a struck-through original, a star rating with a review count, and an Add to cart button in the footer. Make the whole card navigate to the product page by putting the anchor on the product name and stretching it over the card with an absolutely positioned pseudo-element, then raise the cart button above it with a higher z-index so both targets work. Add an out-of-stock state that dims the image and swaps the button for a Notify me control.

MeDo में आज़माएं
EditorialArticle Card

Cover Image, Headline and Byline

One headline wraps to two lines and its neighbor to four. Without a growing body the bylines end up on different baselines and the whole index looks unfinished.

Create an article card: a 16:9 cover image with a reserved aspect box, a category badge, a headline clamped to two lines, an excerpt clamped to three, and a footer row with an author avatar, author name, publish date and read time. Make it a flex column with the excerpt allowed to grow so bylines align across a row of cards with different headline lengths. Put the anchor on the headline and stretch it across the card so the accessible name is the headline rather than "read more". Add a featured variant that spans two grid columns with the media on the left and the text on the right.

MeDo में आज़माएं
DashboardMetric Card

Stat Card With Delta and Sparkline

No media, all typography. The number is the component, so lock its width with tabular figures or the whole row twitches on every poll.

Create a metric card for a dashboard: a small uppercase label, a large numeric value using tabular figures so the width does not jitter as the number updates, a change indicator showing the delta with an arrow and a green or red tint, and an optional sparkline across the bottom. Never rely on color alone for direction — pair the tint with an arrow glyph and a visually hidden "up" or "down". Reserve the sparkline height even before data arrives. Include a loading variant that shows a shimmering block at the exact value height, and an empty state reading "No data yet" rather than a zero that looks like a real measurement.

MeDo में आज़माएं
ConversionPricing Card

Plan Card With a Highlighted Tier

Three cards that must end on one line. If the highlighted tier gets a thicker border, compensate with padding or it will sit one pixel taller than its neighbors.

Create a pricing card: plan name, price with a billing period suffix, a one-line positioning sentence, a feature list with check icons, and a call-to-action button pinned to the bottom. Add a highlighted variant with a thicker border, a "Most popular" badge overlapping the top edge, and reduced internal padding so the extra border width does not make it taller than the adjacent cards. Make the card a flex column with the feature list growing, so buttons across three plans of different feature counts land on the same line. Keep the price in tabular figures and mark the currency and period as separate spans for annual and monthly toggling.

MeDo में आज़माएं
InteractiveClickable Card

Whole-Card Link With Nested Controls

The pattern that fixes the most common card bug. One stretched anchor, real controls layered above it, no interactive element nested inside another.

Create a fully clickable card that stays valid HTML: put a single anchor on the card title and expand it over the whole card with an absolutely positioned ::after pseudo-element covering the container, rather than wrapping the card in an anchor. Give the container position relative and any nested control — a bookmark toggle, an overflow menu, a secondary link — a higher z-index plus position relative so it remains clickable. Drive the hover elevation from the container so hovering anywhere raises the card, and mirror it on focus-within so keyboard users see the same state. Skip the translate transform when prefers-reduced-motion is set and keep the shadow change.

MeDo में आज़माएं

अपने कार्ड को कैसे कस्टमाइज़ करें

मीडिया का aspect-ratio लॉक करें

इमेज एरिया पर object-fit cover के साथ स्पष्ट aspect-ratio मांगें। रिज़र्व्ड बॉक्स के बिना, अलग-अलग डाइमेंशन की इमेज लोड होने के बाद कार्ड का साइज बदल देती हैं — यह Cumulative Layout Shift पर सीधी चोट है और कार्ड ग्रिड की सबसे दिखने वाली खामी।

फुटर को सबसे नीचे पिन करें

कहें कि कार्ड एक flex column है जिसमें बॉडी बढ़ सकती है, ताकि टाइटल अलग-अलग लाइनों में रैप होने पर भी पूरी पंक्ति में फुटर अलाइन रहें। असमान एक्शन रो, एक साफ-सुथरे ग्रिड को अधूरा दिखाने का सबसे तेज़ तरीका है।

क्लिक की एक ही रणनीति चुनें

या तो पूरा कार्ड लिंक हो या उसके अंदर के एलिमेंट — कभी दोनों नहीं। पूरी तरह क्लिकेबल कार्ड के लिए टाइटल पर एक ही anchor मांगें जो absolute pseudo-element के जरिए पूरे कार्ड पर फैला हो। इससे accessible name सार्थक रहता है और उसके ऊपर नेस्टेड कंट्रोल के लिए जगह भी बचती है।

skeleton कार्ड के साथ ही मांगें

ऐसा लोडिंग वेरिएंट मांगें जिसके ग्रे ब्लॉक असली डाइमेंशन से मेल खाते हों, मीडिया रेशियो और लाइन काउंट सहित। अलग साइज पर बना skeleton बेमानी है, क्योंकि डेटा आने के क्षण लेआउट फिर भी उछलता है।

कार्ड कंपोनेंट का उपयोग कौन करता है

ई-कॉमर्स प्रोडक्ट ग्रिड

चौकोर प्रोडक्ट इमेज, नाम, कीमत और रेटिंग रो, फुटर में "कार्ट में जोड़ें" बटन जो प्रोडक्ट पेज के पूरे-कार्ड लिंक के ऊपर बैठता है, ताकि दोनों टारगेट नेस्टिंग के बिना काम करें।

ब्लॉग या रिसोर्स इंडेक्स

16:9 कवर इमेज, कैटेगरी बैज, दो लाइनों में रैप होने वाला हेडलाइन, एक अंश, और लेखक व पढ़ने के समय वाला फुटर जो हेडलाइन की लंबाई चाहे कितनी हो, पूरी पंक्ति में अलाइन रहता है।

SaaS डैशबोर्ड

बिना किसी मीडिया वाले मेट्रिक कार्ड: एक लेबल, एक बड़ा वैल्यू, एक चेंज इंडिकेटर और एक sparkline — क्वेरी हल होने तक पहले paint पर skeleton के रूप में रेंडर होते हैं।

प्राइसिंग या प्लान तुलना

समान ऊंचाई के तीन कार्ड, जिनमें एक मोटी बॉर्डर और बैज से हाइलाइट किया गया है, प्रत्येक नीचे एंकर किए गए कॉल-टू-एक्शन बटन पर खत्म होता है ताकि बटन एक ही लाइन में बैठें।

अलग-अलग वेबसाइटों के लिए कार्ड पैटर्न

वही कार्ड कंपोनेंट, उस वेबसाइट के प्रकार के हिसाब से ढाला गया जहाँ वह लगेगा।

01 / 06

SaaS Dashboard Cards

Metric cards with no media at all, so the number carries the whole layout. Use tabular figures and reserve the value height, because a card grid fed by a polling query will otherwise reflow every few seconds. Borders beat shadows here — twelve elevated cards on one screen read as noise rather than hierarchy.

कार्ड की शैलियाँ और वेरिएंट

जो वेरिएंट बाकी पेज से मेल खाता है उसे चुनें और जेनरेट करें।

01 / 06

Bordered Card

A 1px border, no shadow. The right default for dense interfaces — tables, dashboards, settings panels — where every card needs an edge but none of them should appear to float. Keep the border one step darker than the divider color or the card dissolves into the page.

React, Next.js, Vue और Svelte में कार्ड

React, Next.js, Vue 3, SvelteKit, Astro या सादा HTML — वही कार्ड, जोड़ने के छह तरीके।

01 / 06

React Card

Expose the slots as subcomponents — Card.Header, Card.Body, Card.Footer — rather than as props, so a metric card can omit the media without passing null. No state means no hooks, which is what lets you render sixty of them in a grid.

src/components/Card.tsx

export function Card({ className, ...props }) {
  return (
    <div
      className={cn(
        'flex flex-col rounded-xl border bg-white p-5',
        'transition-shadow hover:shadow-lg',
        className
      )}
      {...props}
    />
  )
}
Card.Footer = ({ children }) => <div className="mt-auto pt-4">{children}</div>

अपने कार्ड को प्रोजेक्ट में कैसे जोड़ें

कार्ड टेम्पलेट चुनने से प्रोडक्शन में भेजने तक, चार चरण।

01~30s

Pick a Card Template

Scan the six templates and start from the content you are displaying — product with a cart button, article with a byline, metric with a delta, or pricing tier.

02~10s

Copy the Prompt

Take the prompt into MeDo, Lovable, Bolt, v0 or Cursor. Say what grid the card lives in before you run it, because the column count is what determines the media ratio and the equal-height rules.

03~1min

Generate and Refine

You get React + Tailwind back with a live preview. Follow up in plain English — "clamp the title to two lines", "swap the shadow for a border", "add the skeleton" — instead of editing the flex utilities by hand.

04~2min

Drop It Into the Grid

Render it inside a CSS grid so rows stretch to match, then check a row where one title wraps and another does not. That is the case that reveals whether the footer is actually pinned.

कार्ड के बारे में सामान्य प्रश्न

AI से कार्ड कम्पोनेंट कैसे जेनरेट करें?

बताएं कि कार्ड में क्या है और उसका उपयोग कैसे होगा, उदाहरण के लिए "प्रोडक्ट कार्ड जिसमें चौकोर इमेज, टाइटल, कीमत और add-to-cart फुटर हो, तीन-कॉलम ग्रिड में"। MeDo स्लॉट स्ट्रक्चर, मीडिया कंस्ट्रेंट और hover स्टेट एक साथ जेनरेट करता है। ग्रिड का जिक्र करना मायने रखता है, क्योंकि वही समान-ऊंचाई और aspect-ratio के नियम तय करता है।

कार्ड कम्पोनेंट के हिस्से कौन-से हैं?

चार क्षेत्र लगभग हर स्थिति को कवर करते हैं: एक ऑप्शनल मीडिया एरिया, टाइटल और किसी सहायक लेबल वाला हेडर, वर्णनात्मक कंटेंट के लिए बॉडी, और एक्शन या मेटाडेटा के लिए फुटर। इन्हें अनिवार्य मार्कअप के बजाय ऑप्शनल स्लॉट मानने से एक ही कम्पोनेंट प्रोडक्ट कार्ड, आर्टिकल कार्ड और मेट्रिक कार्ड — तीनों का काम अलग वेरिएंट के बिना कर लेता है।

क्या पूरा कार्ड क्लिकेबल हो सकता है?

हाँ, लेकिन अगर कार्ड में बटन या दूसरे लिंक हैं तो उसे anchor में न लपेटें, क्योंकि इंटरैक्टिव एलिमेंट को नेस्ट करना इनवैलिड HTML है और ब्राउज़र इसे अप्रत्याशित ढंग से हैंडल करते हैं। anchor को टाइटल पर रखें और absolute पोजिशन वाले pseudo-element से पूरे कार्ड पर फैलाएं, फिर किसी भी नेस्टेड कंट्रोल को ऊंचे z-index से उसके ऊपर उठाएं।

ग्रिड में कार्ड की ऊंचाई समान कैसे करें?

CSS grid उपयोग करें, जो एक पंक्ति के आइटम को पहले से ही खींचकर बराबर कर देता है, और कार्ड को खुद flex column बनाएं ताकि बढ़ती बॉडी उसके फुटर को नीचे धकेले। फिक्स्ड हाइट गलत उपाय है, क्योंकि जैसे ही एक टाइटल एक अतिरिक्त लाइन में रैप होता है, कंटेंट कट जाता है।

कार्ड में shadow या बॉर्डर — क्या उपयोग करें?

डैशबोर्ड और टेबल जैसे घने इंटरफेस में बॉर्डर बेहतर पढ़ा जाता है, जहां बहुत सारी shadow विजुअल शोर पैदा करती हैं। shadow खुले-खुले मार्केटिंग लेआउट में जमती है जहां कार्ड को बैकग्राउंड से उठना चाहिए। एक को डिफ़ॉल्ट बनाएं और दूसरे को उभरे या जोर वाले वेरिएंट के लिए रखें, दोनों को एक ही स्तर पर मिलाने के बजाय।

क्या कार्ड को लोडिंग skeleton चाहिए?

नेटवर्क रिक्वेस्ट से भरने वाले किसी भी कार्ड को इससे फायदा है, क्योंकि असली कंटेंट के नाप का skeleton डेटा आने पर पेज को दोबारा बहने से रोकता है। MeDo से skeleton उसी प्रॉम्प्ट में मांगें जिसमें कार्ड मांगा है — तब दोनों बनावट से ही डाइमेंशन साझा करते हैं, जिसे अलग-अलग लिखने पर बनाए रखना मुश्किल होता है।

अभी अपना कार्ड जेनरेट करें।

कोई भी प्रॉम्प्ट आज़माएं — मुफ्त, कोई साइन अप नहीं।