using Next.js to render same layout with different content

can someone please explain to me how can I use the same layout for 3 clickable cards in next.js,
the 3 cards should go to the same component with same layout but I want to have different content like different h1,p and imgs… , I have been told to use array of props to conditionally render the content.