Components
Loading preview...
BoxPlot and ViolinPlot component
npx shadcn@latest add https://21st.dev/r/airbnb/box-plot-violin-plot// src/DemoOne.tsx
import React from 'react';
import { Component as StatsPlotComponent } from '@/components/ui/box-plot-violin-plot';
import { cn } from "@/lib/utils";
const DemoOne = () => {
return (
<div className={cn("flex w-full min-h-screen justify-center items-center p-4 bg-gray-200")}>
<div className="rounded-lg shadow-xl overflow-hidden">
<StatsPlotComponent
width={700}
height={500}
/>
</div>
</div>
);
};
export { DemoOne };