-
Notifications
You must be signed in to change notification settings - Fork 912
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The documentation for the Dock component shows an incorrect example where multiple icons are wrapped inside a single DockIcon component. This creates a vertical column of icons within one dock item instead of the intended horizontal macOS-style dock layout with magnification effects.
Affected component/components
Dock
How to reproduce
- Go to the Dock component documentation at: https://magicui.design/docs/components/dock
- Look at the "Usage" section example code
- Copy the example code:
<Dock>
<DockIcon>
<Home />
<Settings />
<Search />
</DockIcon>
</Dock>
- Implement this code in your project
- you will see that all three icons (Home, Settings, Search) are stacked vertically inside a single dock item instead of creating three separate dock items arranged horizontally
Codesandbox/StackBlitz link
No response
Logs
System Info
NullBefore submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working