Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Bits UI

free

Headless, accessible Svelte 5 primitives, the base of shadcn-svelte.

by Hunter Johnston (huntabyte) GitHub npm
visit
Bits UI website

Try these

Ark UI

Headless, accessible components with one API across React, Vue, Svelte and Solid, built on Zag state machines.

shadcn-svelte

The Svelte 5 port of shadcn/ui: copy-in Tailwind components on bits-ui.

Kobalte

Unstyled, accessible SolidJS primitives, the base of most Solid component kits.

Astryx

Meta's open source React design system on StyleX: 170+ typed components, themes and an agent-readable CLI.

For your agent

Install
npm i bits-ui
Use it for
  • a custom Svelte design system: dialogs, menus, comboboxes, date pickers, command menu
  • a Svelte command palette (its Command component replaces the abandoned cmdk-sv)
Skip it when
  • you want styled components: use shadcn-svelte
  • a component library shared with React or Vue teams: use ark-ui
  • Svelte 4: v1+ requires Svelte 5
What's inside41 free
  • Accordion
  • Alert Dialog
  • Aspect Ratio
  • Avatar
  • Button
  • Calendar
  • Checkbox
  • Collapsible
  • Combobox
  • Command
  • Context Menu
  • Date Field
  • Date Picker
  • Date Range Field
  • Date Range Picker
  • Dialog
  • Dropdown Menu
  • Label
  • Link Preview
  • Menubar
  • Meter
  • Navigation Menu
  • Pagination
  • Pin Input
  • Popover
  • Progress
  • Radio Group
  • Range Calendar
  • Rating Group
  • Scroll Area
  • Select
  • Separator
  • Slider
  • Switch
  • Tabs
  • Time Field
  • Time Range Field
  • Toggle
  • Toggle Group
  • Toolbar
  • Tooltip
Facts
Frameworks
svelte
Styling
unstyled
Weight
small
Accessibility
strong
Maturity
stable
License
MIT
Price
Free
Pairs with
Alternatives
<script lang="ts">
  import { Dialog } from "bits-ui"
</script>

<Dialog.Root>
  <Dialog.Trigger>Open</Dialog.Trigger>
  <Dialog.Portal>
    <Dialog.Overlay />
    <Dialog.Content>
      <Dialog.Title>Settings</Dialog.Title>
      <Dialog.Close>Done</Dialog.Close>
    </Dialog.Content>
  </Dialog.Portal>
</Dialog.Root>
Visit