MCP
Result viewer
Readable text, structured content and media, with raw data one click away.
Result
Found 2 matching projects.
{
"projects": [
{
"id": "01",
"name": "WebMCP",
"category": "Browser",
"status": "Preview"
},
{
"id": "02",
"name": "Model Context Protocol",
"category": "Protocol",
"status": "Stable"
}
]
}Installation
Terminal
bunx shadcn@latest add https://ui.fabrials.com/r/result-view.jsonAPI
| Prop / export | Type | Description |
|---|---|---|
| result | unknown | Original MCP or application result. |
| className | string? | Additional styles. |
Behavior & compatibility
Renders text without HTML execution. Raster images and audio use bounded inline data. Unknown content remains inspectable as JSON. Resource links require HTTP(S).
Accessibility
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is fully keyboard operable.