Skip to content

fix(docs): align usage imports to components/ui paths#904

Merged
Yeom-JinHo merged 1 commit intomagicuidesign:mainfrom
Yeom-JinHo:codex/fix/import-path
Mar 2, 2026
Merged

fix(docs): align usage imports to components/ui paths#904
Yeom-JinHo merged 1 commit intomagicuidesign:mainfrom
Yeom-JinHo:codex/fix/import-path

Conversation

@Yeom-JinHo
Copy link
Collaborator

Description

This PR fixes the import-path mismatch reported in #881 by aligning docs usage snippets with the actual install target path.

The issue was that some docs showed imports from @/registry/magicui/*, while installed components are intended to be imported from @/components/ui/*.

Changes

  • Updated usage imports in docs from @/registry/magicui/* to @/components/ui/*.
  • Fixed the following component docs:
    • magic-card
    • video-text
    • pixel-image
    • shine-border
  • Verified there are no remaining @/registry/magicui/* usage imports in content/docs and content/blog.

Motivation

  • Prevent copy-paste errors for users following docs.
  • Keep import examples consistent with generated/installed component paths.
  • Reduce confusion between internal registry source paths and consumer-facing app import paths.

Breaking Changes

  • None.
  • This change only updates documentation examples and does not modify runtime component behavior.

@Yeom-JinHo Yeom-JinHo self-assigned this Mar 2, 2026
@vercel
Copy link

vercel bot commented Mar 2, 2026

@Yeom-JinHo is attempting to deploy a commit to the product-studio Team on Vercel.

A member of the Team first needs to authorize it.

@Yeom-JinHo Yeom-JinHo linked an issue Mar 2, 2026 that may be closed by this pull request
@Yeom-JinHo Yeom-JinHo merged commit b565733 into magicuidesign:main Mar 2, 2026
3 of 4 checks passed
Copy link
Contributor

@1chooo 1chooo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! All the paths have been updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs]: Inconsistent component paths and import examples for Magic UI

2 participants