Skip to content

[Bug]: npx untitledui@latest add sidebar-navigation-base doesn’t install the component #124

@bijjuchow

Description

@bijjuchow

Prerequisites

  • I have searched existing issues to ensure this bug hasn't been reported already
  • I have tested this with the latest version of the components

Bug description

The CLI should scaffold or copy in the sidebar-navigation-base component (or whatever its “main component” means) into the project — similar to how npx untitledui@latest add button works (as shown in docs)

It should install dependencies, generate the component skeleton, and make it ready to use.

Steps to reproduce

Follow the instructions from documentation for initial setup: https://www.untitledui.com/react/docs/installation#manual-installation

Run the Untitled UI CLI command to add a sidebar navigation component:
npx untitledui@latest add sidebar-navigation-base

Wait for the CLI to finish.
Check your src/components/ (or designated output directory).

Expected behavior

A new SidebarNavigationBase.jsx (or similar) component should be generated under the src/components/ folder (or configured directory).
All required files, dependencies, and imports should be added correctly.

Actual behavior

No new component files are created.
The terminal shows success or finishes silently, but nothing appears in the project.

Image Image

Code example

Browser

No response

Device type

No response

Component version

No response

Environment details

No response

Screenshots/Videos

No response

Console errors

Additional context

No response

Accessibility impact

  • This bug affects keyboard navigation
  • This bug affects screen reader users
  • This bug affects focus management
  • This bug affects color contrast or visual accessibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions