Docs
Changelog
Changelog
Latest updates and announcements.
August 2024 - npx @token-kit/cli init
The new CLI is now available. It's a complete rewrite with a lot of new features and improvements. You can now install components, themes, hooks, utils and more using npx @token-kit/cli add
.
This is a major step towards distributing code that you and your LLMs can access and use.
- First up, the cli now has support for all major React framework out of the box. Next.js, Remix, Vite and Laravel. And when you init into a new app, we update your existing Tailwind files instead of overriding.
- A component now ship its own dependencies. Take the accordion for example, it can define its Tailwind keyframes. When you add it to your project, we’ll update your tailwind.config.ts file accordingly.
- You can also install remote components using url.
npx @token-kit/cli add https://acme.com/registry/navbar.json
. - We have also improve the init command. It does framework detection and can even init a brand new Next.js app in one command.
npx @token-kit/cli init
. - We have created a new schema that you can use to ship your own component registry. And since it has support for urls, you can even use it to distribute private components.
- And a few more updates like better error handling and monorepo support.
You can try the new cli today.
npx @token-kit/cli init sidebar-01 login-01