MCPcopy
hub / github.com/huntabyte/bits-ui

github.com/huntabyte/bits-ui @2.18.1 sqlite

repository ↗ · DeepWiki ↗ · release 2.18.1 ↗
2,281 symbols 5,360 edges 454 files 70 documented · 3%
README

Bits UI

npm version npm downloads license

hero

Bits UI – the headless components for Svelte.

Flexible, unstyled, and accessible primitives that provide the foundation for building your own high-quality component library.

Documentation

Visit https://bits-ui.com/docs to view the documentation.

Credits

  • Bitworks - The design team behind the Bits UI documentation and example components.
  • Melt UI - A powerful builder API that inspired the internal architecture of Bits UI.
  • Radix UI - The incredible headless component APIs that we've taken heavy inspiration from.
  • React Spectrum - An incredible collection of headless components we've taken inspiration from.

Sponsors

This project is supported by the following beautiful people/organizations:

Logos from Sponsors

License

Published under the MIT license. Built by @huntabyte and community. Designed by Pavel Stianko 💛

Community

Join the Discord server to ask questions, find collaborators, or just say hi!

Svecosystem Discord community

Extension points exported contracts — how you extend this code

ScrollbarAxisState (Interface)
(no doc) [2 implementers]
packages/bits-ui/src/lib/bits/scroll-area/scroll-area.svelte.ts
BundleResult (Interface)
(no doc)
bundle-analyzer/bundle-analyzer.ts
ComponentInfo (Interface)
(no doc)
bundle-analyzer/extract-components.ts
SafePolygonOptions (Interface)
(no doc)
packages/bits-ui/src/lib/internal/safe-polygon.svelte.ts
BundleReport (Interface)
(no doc)
bundle-analyzer/bundle-analyzer.ts
Machine (Interface)
(no doc)
packages/bits-ui/src/lib/internal/state-machine.ts
VisualizerTreeNode (Interface)
(no doc)
bundle-analyzer/bundle-analyzer.ts
AnimationsCompleteOpts (Interface)
(no doc)
packages/bits-ui/src/lib/internal/animations-complete.ts

Core symbols most depended-on inside this repo

expectExists
called by 372
tests/src/tests/browser-utils.ts
defineSimpleDataAttr
called by 352
docs/src/lib/content/utils.ts
expectNotExists
called by 245
tests/src/tests/browser-utils.ts
defineComponentApiSchema
called by 232
docs/src/lib/content/utils.ts
get
called by 177
packages/bits-ui/src/lib/internal/shared-state.svelte.ts
withChildProps
called by 161
docs/src/lib/content/api-reference/shared.ts
defineBooleanProp
called by 132
docs/src/lib/content/utils.ts
boolToEmptyStrOrUndef
called by 98
packages/bits-ui/src/lib/internal/attrs.ts

Shape

Method 926
Function 660
Class 481
Interface 214

Languages

TypeScript100%

Modules by API surface

packages/bits-ui/src/lib/bits/menu/menu.svelte.ts155 symbols
packages/bits-ui/src/lib/bits/select/select.svelte.ts118 symbols
packages/bits-ui/src/lib/bits/command/command.svelte.ts100 symbols
packages/bits-ui/src/lib/bits/date-field/date-field.svelte.ts96 symbols
packages/bits-ui/src/lib/bits/scroll-area/scroll-area.svelte.ts95 symbols
packages/bits-ui/src/lib/bits/calendar/calendar.svelte.ts94 symbols
packages/bits-ui/src/lib/bits/time-field/time-field.svelte.ts79 symbols
packages/bits-ui/src/lib/bits/navigation-menu/navigation-menu.svelte.ts65 symbols
packages/bits-ui/src/lib/bits/dialog/dialog.svelte.ts57 symbols
packages/bits-ui/src/lib/bits/slider/slider.svelte.ts51 symbols
packages/bits-ui/src/lib/bits/popover/popover.svelte.ts51 symbols
packages/bits-ui/src/lib/bits/toolbar/toolbar.svelte.ts45 symbols

Dependencies from manifests, versioned

@changesets/cli2.29.7 · 1×
@eslint/js9.35.0 · 1×
@floating-ui/core1.7.1 · 1×
@floating-ui/dom1.7.1 · 1×
@internationalized/date3.8.2 · 1×
@prettier/sync0.3.0 · 1×
@stackblitz/sdk1.11.0 · 1×
@sveltejs/adapter-cloudflare7.0.4 · 1×
@sveltejs/kitcatalog: · 1×
@sveltejs/package2.5.0 · 1×
@sveltejs/vite-plugin-sveltecatalog: · 1×
@svitejs/changesets-changelog-github-compact1.2.0 · 1×

For agents

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

⬇ download graph artifact