github fuma-nama/fumadocs fumadocs@16.15.11

latest releases: fumadocs-typescript@5.4.1, fumadocs-twoslash@4.0.1, @fumadocs/tailwind@0.1.2...
2 hours ago
  • @fumadocs/base-ui@16.15.11
  • fumadocs-core@16.15.11
  • fumadocs-ui@16.15.11

Shadcn UI compatible primitives

The primitives in fumadocs-ui/components/ui/* now follow the API of Shadcn UI, so components installed by the CLI can use the ones you already have.

buttonVariants accepts the default variant of Shadcn UI:

buttonVariants({ variant: 'default', size: 'sm' });

primary and the color alias still work.

fumadocs-ui/components/ui/scroll-area is removed, the sidebars render the scroll area primitives directly.

Mark packages side-effect free

All packages now declare sideEffects in package.json, so bundlers can tree-shake unused modules. Packages shipping stylesheets list them as side effects to keep CSS imports.

Don't miss a new fumadocs release

NewReleases is sending notifications on new releases.