MCPcopy
hub / github.com/tailwindlabs/headlessui

github.com/tailwindlabs/headlessui @@headlessui-react@v2.2.10 sqlite

repository ↗ · DeepWiki ↗ · release @headlessui-react@v2.2.10 ↗ · compare 2 versions
1,542 symbols 4,491 edges 382 files 9 documented · 1%
README

Headless UI

A set of completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.


Documentation

For full documentation, visit headlessui.com.

Installing the latest version

You can install the latest version by using:

  • npm install @headlessui/react@latest
  • npm install @headlessui/vue@latest

Installing the insiders version

You can install the insiders version (which points to whatever the latest commit on the main branch is) by using:

  • npm install @headlessui/react@insiders
  • npm install @headlessui/vue@insiders

Note: The insiders build doesn't follow semver and therefore doesn't guarantee that the APIs will be the same once they are released.

Packages

Name Version Downloads
@headlessui/react npm version npm downloads
@headlessui/vue npm version npm downloads
@headlessui/tailwindcss npm version npm downloads

Community

For help, discussion about best practices, or feature ideas:

Discuss Headless UI on GitHub

Contributing

If you're interested in contributing to Headless UI, please read our contributing docs before submitting a pull request.

Extension points exported contracts — how you extend this code

Matchers (Interface)
(no doc)
packages/@headlessui-react/types/jest.d.ts
Options (Interface)
(no doc)
packages/@headlessui-tailwindcss/src/index.ts
Matchers (Interface)
(no doc)
packages/@headlessui-vue/types/jest.d.ts
Subscriber (Interface)
(no doc)
packages/@headlessui-react/src/machine.ts
TransitionContextValues (Interface)
(no doc)
packages/@headlessui-vue/src/components/transitions/transition.ts
StateDefinition (Interface)
(no doc)
packages/@headlessui-react/src/components/tooltip/tooltip.tsx
NestingContextValues (Interface)
(no doc)
packages/@headlessui-vue/src/components/transitions/transition.ts
_internal_ComponentTooltip (Interface)
(no doc)
packages/@headlessui-react/src/components/tooltip/tooltip.tsx

Core symbols most depended-on inside this repo

render
called by 901
packages/@headlessui-react/src/utils/render.ts
click
called by 799
packages/@headlessui-react/src/test-utils/interactions.ts
click
called by 792
packages/@headlessui-vue/src/test-utils/interactions.ts
html
called by 660
packages/@headlessui-vue/src/test-utils/html.ts
suppressConsoleLogs
called by 634
packages/@headlessui-react/src/test-utils/suppress-console-logs.ts
press
called by 624
packages/@headlessui-react/src/test-utils/interactions.ts
press
called by 615
packages/@headlessui-vue/src/test-utils/interactions.ts
suppressConsoleLogs
called by 468
packages/@headlessui-vue/src/test-utils/suppress-console-logs.ts

Shape

Function 1,222
Interface 117
Enum 97
Method 79
Class 27

Languages

TypeScript100%

Modules by API surface

packages/@headlessui-react/src/test-utils/accessibility-assertions.ts112 symbols
packages/@headlessui-vue/src/test-utils/accessibility-assertions.ts101 symbols
packages/@headlessui-vue/src/components/combobox/combobox.ts41 symbols
packages/@headlessui-vue/src/components/popover/popover.ts27 symbols
packages/@headlessui-vue/src/components/listbox/listbox.ts27 symbols
packages/@headlessui-react/src/components/tabs/tabs.tsx24 symbols
packages/@headlessui-react/src/components/listbox/listbox-machine.ts23 symbols
packages/@headlessui-vue/src/components/radio-group/radio-group.ts21 symbols
packages/@headlessui-vue/src/components/menu/menu.ts21 symbols
packages/@headlessui-react/src/components/tooltip/tooltip.tsx21 symbols
packages/@headlessui-vue/src/components/transitions/transition.ts19 symbols
packages/@headlessui-react/src/utils/render.ts19 symbols

Dependencies from manifests, versioned

@arethetypeswrong/cli0.13.3 · 1×
@floating-ui/react0.26.16 · 1×
@floating-ui/vue1.0.2 · 1×
@headlessui/react* · 1×
@headlessui/tailwindcss* · 1×
@headlessui/vue* · 1×
@heroicons/react1.0.6 · 1×
@heroicons/vue1.0.6 · 1×
@popperjs/core2.6.0 · 1×
@react-aria/focus3.20.2 · 1×
@react-aria/interactions3.25.0 · 1×
@swc-node/register1.6.8 · 1×

For agents

$ claude mcp add headlessui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact