Skip to content

Select docs refers to Separator as a sub-component, but there is no Select.Separator code export or docs examples describing how to use it #1738

@Greenheart

Description

@Greenheart

Change Type

Addition

Proposed Changes

It seems like Separator has been moved from https://bits-ui.com/docs/components/select and into a dedicated component https://bits-ui.com/docs/components/separator. This makes sense to keep bits-ui as flexible as possible without re-exporting the same component in multiple places.

Proposed improvement

The Select docs could be improved by adding a paragraph describing how to add a Separator to a Select, linking to the Separator docs.

Bonus: Adding a simple example too would make it easy for the reader to add a Select with multiple separated sections to their project.

Or for very simple cases, just add an <hr class="my-1" /> or similar and use it as a separator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions