diff --git a/apps/v4/content/docs/changelog/2026-04-partial-preset-apply.mdx b/apps/v4/content/docs/changelog/2026-04-partial-preset-apply.mdx new file mode 100644 index 0000000000..cb328b0e78 --- /dev/null +++ b/apps/v4/content/docs/changelog/2026-04-partial-preset-apply.mdx @@ -0,0 +1,35 @@ +--- +title: April 2026 - Partial Preset Apply +description: Apply only the theme or fonts from a preset while keeping your existing components. +date: 2026-04-22 +--- + +You can now selectively apply a preset. + +Say someone shares a preset with you and you already have your own components, but you like the theme or the fonts. Now you can apply just that. + +Keep your components. Apply only what you want. + +```bash +# Apply the full preset. +npx shadcn@latest apply --preset b2D0vQ7G4 + +# Apply only the theme. +npx shadcn@latest apply --preset b2D0vQ7G4 --only theme + +# Apply only the fonts. +npx shadcn@latest apply --preset b2D0vQ7G4 --only font + +# Apply theme and fonts. +npx shadcn@latest apply --preset b2D0vQ7G4 --only theme,font +``` + +The default behavior is unchanged. Running `shadcn apply --preset ` still applies the full preset. + +Partial preset apply currently supports `theme` and `font`. + +