Installation
npx shadcn@latest add @bits-ui/json-formatterPreview
null
Usage
Import and use the component
After installation, you can import and use the component in your project.
import { JSONFormatter } from "@/registry/new-york/blocks/json-formatter/json-formatter";
export default function Example() {
return <JSONFormatter />;
}