Command Menu

Search documentation, components, and switch theme.

Atoms

Endpoint

API endpoint pill combining HTTP method, response status code, and route path.

Formance
Docs

Installation#

npx shadcn@latest add @formance/endpoint

Copy and paste the following code into your project.

Update the import paths to match your project setup.

Usage#

import { Endpoint } from '@/components/ui/endpoint'
<Endpoint method="GET" statusCode={200} path="/v2/ledgers" />

Examples#

API Routes#

States#