Skip to content

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

@1chooo

Description

@1chooo

Hi @dillionverma

I think there may be a small inconsistency or outdated section in the documentation, and I wanted to clarify in case I’m misunderstanding something.

Previously, when I installed the components, they were located under:

/components/magicui/

However, in the current setup, the components are installed under:

/components/ui/

Is this an intentional change?

Additionally, in the documentation examples, the import paths still reference:

import { * } from "@/registry/magicui/*"

This made me a bit unsure about the recommended or best-practice way to use Magic UI—specifically which directory structure and import path should be considered canonical.

If helpful, I’d be happy to assist with updating the documentation to reflect the current behavior.

Thanks for the great work, and appreciate any clarification!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions