Plus UI Design · Practical guides
Turn a static card into a responsive layout
Separate a component’s content from its layout so a generated design can adapt to a real page.
Choose a flexible container
A maximum width and responsive padding are often more useful than a fixed canvas width. Let the card grow with its text. Keep the action after the description in document order so the reading and keyboard sequence remain understandable.
Adapt the example
This example is handwritten reference markup to compare with your plugin output. Replace the heading, description and destination. It uses ordinary Tailwind utilities and does not depend on a particular plugin-generated class sequence.
Verify the result
Check the card inside the page layout, not only in an isolated preview. Confirm that its focus style is visible and that the action describes a real destination. Test with a two-line title before creating a grid of repeated cards.
Example to adapt
<article class="mx-auto max-w-xl rounded-xl border p-6 sm:p-8">
<h2 class="text-xl font-semibold">Project overview</h2>
<p class="mt-3 leading-relaxed">A short description of the project.</p>
<a class="mt-5 inline-block underline focus:outline focus:outline-2"
href="/projects/atlas">Read about Atlas</a>
</article>