npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@aria-ui/menu

v0.0.18

Published

## MenuContentProps <a id="menu-content-props" href="#menu-content-props">#</a>

Downloads

11,048

Readme

@aria-ui/menu

MenuContentProps #

Group

MenuContent

altBoundary: boolean

Whether to check the alternate elementContext’s boundary. Please see https://floating-ui.com/docs/detectoverflow#altboundary for more information.

Default: false

autoUpdate: boolean | AutoUpdateOptions

Options to activate auto-update listeners

See

https://floating-ui.com/docs/autoUpdate

Default: true

boundary: Boundary

Describes the clipping element(s) or area that overflow will be checked relative to. Please see https://floating-ui.com/docs/detectoverflow#boundary for more information.

Default: 'clippingAncestors'

elementContext: ElementContext

The element that will be used to check for overflow. Please see https://floating-ui.com/docs/detectoverflow#elementcontext for more information.

Default: 'floating'

eventTarget?: HTMLElement | TypedEventTarget<"keydown">

By default, the menu element will listen for keydown events. You can pass a different element to listen for keydown events.

fitViewport: boolean

Whether to constrain the floating element's width and height to not exceed the viewport.

Default: false

flip: boolean | Placement[]

Whether to flip the placement in order to keep it in view when the preferred placement(s) will overflow the clipping boundary. You can also provide an array of placements to try sequentially if the preferred placement does not fit.

Default: true

hide: boolean

Whether to hide the floating element when the reference element or the floating element is fully clipped.

Default: false

hoist: boolean

Whether to use the browser Popover API to place the floating element on top of other page content. When enabled, the floating element won't be clipped by an ancestor. This provides a similar result to React's <Portals> or Vue's <Teleport>.

Default: true

inline: boolean

Whether to improve positioning for inline reference elements that span over multiple lines.

Default: false

offset?: OffsetOptions

The distance between the reference and floating element.

Default: 6

overflowPadding: number

Describes the virtual padding around the boundary to check for overflow. Please see https://floating-ui.com/docs/detectoverflow#padding for more information.

Default: 4

overlap: boolean

Whether the floating element can overlap the reference element to keep it in view.

Default: false

placement: Placement

The initial placement of the floating element

Default: "top"

rootBoundary: RootBoundary

Describes the root boundary that the element will be checked for overflow relative to. Please see https://floating-ui.com/docs/detectoverflow#rootboundary for more information.

Default: 'viewport'

sameHeight: boolean

Whether to constrain the floating element's height so that it matches the reference element.

Default: false

sameWidth: boolean

Whether to constrain the floating element's width so that it matches the reference element.

Default: false

shift: boolean

Whether the floating element should shift to keep it in view.

Default: true

strategy: "fixed" | "absolute"

The strategy to use for positioning

Default: "absolute"

transform: boolean

Whether to use CSS transforms to position the floating element instead of layout (top and left CSS properties). CSS transforms are more performant, but can cause conflicts with transform animations.

Default: false

MenuItemEvents #

Group

MenuItem

select: CustomEvent<void>

Fired when the item is selected.

MenuItemProps #

Group

MenuItem

filter: ItemFilter

The filter function to determine if an item should be shown in the listbox.

Default: defaultItemFilter

query: string

The query string to filter the listbox items.

Default: ""

value: string

The value of the item. Every item must have a unique value in the parent list. By default, a random value is generated.

Default: ""

MenuContentEvents #

Group

MenuContent

Type: PopoverContentEvents

MenuRootEvents #

Group

MenuRoot

Type: PopoverRootEvents

MenuRootProps #

Group

MenuRoot

Type: PopoverRootProps