Feature 153 - Interactive API playground request and responsePro

Two-pane API playground: pick an example request, press Send, see a loading state, then the JSON response with status and latency.

About Feature 153

Two-pane API playground: pick an example request, press Send, see a loading state, then the JSON response with status and latency.

Feature 153 is a feature block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 133 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • api
  • playground
  • request
  • response
  • interactive

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add feature-153

Dependencies installed automatically: lucide-react, motion.

Uses: button, reveal, utils.

Usage

import Feature153 from "@/components/blocks/feature-153"

export default function Page() {
  return <Feature153 />
}

FAQ