preskok/ui

Install and configure Preskok UI for Next.js.

Create project

Run the Preskok UI init command to create a new Next.js project or set up an existing one:

pnpm dlx preskok-ui@latest init button

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

app/page.tsx
import { Button } from "@/components/ui/preskok-ui/button"
 
export default function Home() {
  return (
    <div>
      <Button>Click me</Button>
    </div>
  )
}