Skip to content

Instantly share code, notes, and snippets.

@VatsalBhesaniya
Created April 26, 2024 04:04
Show Gist options
  • Save VatsalBhesaniya/165d297bd227dcca72d95b06243cf8d3 to your computer and use it in GitHub Desktop.
Save VatsalBhesaniya/165d297bd227dcca72d95b06243cf8d3 to your computer and use it in GitHub Desktop.
React-Card
<div className="bg-white rounded-xl shadow-md w-full">
<div className="text-gray-700 font-bold px-2 py-4 flex justify-between">
<div>title</div>
<button className="bg-white hover:bg-gray-100 text-gray-800 font-semibold py-1 px-4 border border-gray-400 rounded-lg shadow">
Preview
</button>
</div>
<div className="text-gray-700 px-2 text-justify">description</div>
<div className="flex justify-end px-2 py-4">
<div className="font-light text-xs text-purple-400 bg-gray-100 rounded-full ml-2 px-2 py-1">
tag
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment