Skip to content

feat(Card): add size prop#5365

Closed
allahyar wants to merge 10 commits intonuxt:v4from
allahyar:feat/card-size
Closed

feat(Card): add size prop#5365
allahyar wants to merge 10 commits intonuxt:v4from
allahyar:feat/card-size

Conversation

@allahyar
Copy link

@allahyar allahyar commented Nov 2, 2025

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Hi, I didn’t understand why the prop size isn’t available on the card, so I decided to try this instead.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@benjamincanac
Copy link
Member

benjamincanac commented Mar 18, 2026

Sorry I missed this, I'm not sure there is much value in adding a size prop to the Card component honestly. Unlike Button or Input where size has clear semantics (scaling text, padding, and icons together), Card is a layout container whose size depends on its content, and padding is already customizable via the ui prop or app.config.ts. Closing in a similar way as #5928.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants