Components
Loading preview...
Here is polygons sample component
npx shadcn@latest add https://21st.dev/r/airbnb/polygons
import React from 'react';
import { Component as PolygonChartComponent } from '@/components/ui/polygons';
import { cn } from "@/lib/utils";
const DemoOne = () => {
return (
<div className={cn("flex w-full min-h-screen justify-center items-center p-0 bg-white")}>
<div className="rounded-lg shadow-none overflow-hidden">
<PolygonChartComponent
width={600}
height={350}
polygonSize={40}
/>
</div>
</div>
);
};
export { DemoOne };