Skip to content

Document typed cards#5548

Merged
ehcaw merged 2 commits intomainfrom
mintlify/cards-typed-1777322830
Apr 27, 2026
Merged

Document typed cards#5548
ehcaw merged 2 commits intomainfrom
mintlify/cards-typed-1777322830

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 27, 2026

Summary

Cards now support a type property that applies the same themed styling as callouts. Setting type to info, warning, note, tip, check, or danger gives the card a matching colored background, border, and default icon, so cards can be used to highlight grouped notes, warnings, tips, and similar emphasis blocks.

Changes

  • Added a "Typed cards" section to components/cards.mdx with a description, a rendered example using <Columns>, and an mdx code sample.
  • Added the new type prop to the Properties reference, listing the supported values and explaining the default icon behavior.

Note

Low Risk
Low risk: documentation-only updates that describe an additional Card property without changing runtime behavior.

Overview
Documents typed cards by adding a new section showing how to use the Card type prop (with rendered and MDX examples) to apply callout-style theming for info, warning, note, tip, check, and danger.

Updates the Cards Properties reference to include the new type field and its supported values/behavior (including default icon and override guidance).

Reviewed by Cursor Bugbot for commit 6f75d41. Bugbot is set up for automated code reviews on this repo. Configure here.

Generated-By: mintlify-agent
@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Apr 27, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 27, 2026, 8:51 PM

Comment thread components/cards.mdx Outdated
@ehcaw ehcaw merged commit e9bc9e6 into main Apr 27, 2026
6 checks passed
@ehcaw ehcaw deleted the mintlify/cards-typed-1777322830 branch April 27, 2026 22:16
@ethanpalm ethanpalm self-requested a review April 27, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants