


























Add cursor pointer behavior for buttons during project setup.
You can now enable cursor: pointer for buttons when initializing a project.
pnpm dlx shadcn@latest init --pointer
This adds the following CSS to your global CSS file:
@layer base {
button:not(:disabled),
[role="button"]:not(:disabled) {
cursor: pointer;
}
}The --pointer option is not part of preset codes. It is applied as a project setup option, similar to --rtl.
Deploy your shadcn/ui app on Vercel
Trusted by OpenAI, Sonos, Adobe, and more.
Vercel provides tools and infrastructure to deploy apps and features at scale.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。