Shadcn.io is not affiliated with official shadcn/ui
React AI Commit
React AI commit component for displaying Git commit information with file changes
Show Git commits in your AI interface—perfect for code review assistants or version control tools. Displays commit hash, message, author, timestamp, and a collapsible list of changed files. Each file shows its status (added, modified, deleted, renamed) with color-coded indicators and line change counts. The compact design fits well in chat interfaces while the expandable details let users dig into what changed.
Commit preview
Scroll to load preview
Installation
Related Components
React AI Code Block
Syntax highlighted code
React AI File Tree
File structure display
React AI Tool
Tool execution display
React AI Artifact
Generated content container
React AI Context
File context display
React AI Message
Chat message bubbles