Installation

How to add glsilk components to your project

Getting Started

Initialize shadcn

npx shadcn@latest init

Add all shadcn components to your project

npx shadcn@latest add --all

Add a specific glsilk component

npx shadcn@latest add https://glsilk.vercel.app/r/mesh-gradient-button.json

The command above will add the MeshGradientButton component to your project. You can then import it like this:

app/page.tsx
import { MeshGradientButton } from "@/components/ui/mesh-gradient-button";

export default function Home() {
  return (
    <div>
      <MeshGradientButton>Click me</MeshGradientButton>
    </div>
  );
}
glsilk