-
-
Notifications
You must be signed in to change notification settings - Fork 46
feat(card): added a new example for card component called Retro player card #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@ehmasuk is attempting to deploy a commit to the Retro UI Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughAdds a new retro-themed audio player preview: a React component ( Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: defaults
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
public/images/punk.svgis excluded by!**/*.svg
📒 Files selected for processing (3)
config/components.tscontent/docs/components/card.mdxpreview/components/retro-player.tsx
🧰 Additional context used
🧬 Code graph analysis (1)
preview/components/retro-player.tsx (1)
components/retroui/Button.tsx (1)
Button(40-63)
🔇 Additional comments (9)
content/docs/components/card.mdx (1)
46-51: LGTM!The documentation structure is consistent with existing examples and properly references the new retro-player showcase component.
config/components.ts (1)
681-685: LGTM!The configuration entry is well-structured and follows the established pattern for example components.
preview/components/retro-player.tsx (7)
1-12: LGTM!All imports are properly used throughout the component.
15-17: LGTM!Component structure and Card wrapper are properly configured.
19-27: LGTM!Header layout with navigation and action buttons is well-structured.
52-70: LGTM!The custom progress bar implementation with visual draggable knob and time indicators is well-styled and appropriate for a showcase component.
72-92: LGTM!Playback controls are well-organized with appropriate responsive sizing and visual hierarchy.
94-104: LGTM!Decorative sparkle elements are appropriately positioned and responsively hidden on mobile devices.
32-36: Image file exists at the correct path.The
/images/punk.svgfile is present inpublic/images/punk.svg. No action required.
What I Did
I added a new example to the Card component called "Retro Player Card". This is a styled variant that shows how the Card can be used for player profiles or gaming dashboards.
Why It's Useful
This example highlights the bold and unique beauty of the NeoBrutalism style in RetroUI. Users can easily copy the code, paste it into their projects, and customize it to fit their needs.
Special Change
Added a new SVG image (for the player avatar) in the public/images/ directory.
Preview

Here is a screenshot of the new Retro Player Card example:
Summary by CodeRabbit
New Features
Documentation
✏️ Tip: You can customize this high-level summary in your review settings.