JSPM

  • Created
  • Published
  • Downloads 2212
  • Score
    100M100P100Q108660F

Headless component library for Svelte powered by zag

Package Exports

  • ui-ingredients

Readme

UI Ingredients

Headless component library for Svelte powered by zag

Installation

npm install ui-ingredients

Usage

<script>
  import {Clipboard} from 'ui-ingredients';

  let {data} = $props();
</script>

<Clipboard.Root value={data.token}>
  <Clipboard.Label>Token</Clipboard.Label>
  <Clipboard.Control>
    <Clipboard.Input />
    <Clipboard.Trigger>
      <Clipboard.Indicator copied>
        <CheckIcon />
      </Clipboard.Indicator>
      <Clipboard.Indicator>
        <CopyIcon />
      </Clipboard.Indicator>
    </Clipboard.Trigger>
  </Clipboard.Control>
</Clipboard.Root>

Components

  • 🟢 Accordion
  • 🟢 Avatar
  • 🟢 Carousel
  • 🟢 Checkbox
  • 🟢 Clipboard
  • 🟢 Collapsible
  • ⚪ ColorPicker
  • 🟢 Combobox
  • 🟡 DatePicker
  • 🟢 Dialog
  • 🟢 Editable
  • 🟡 FileUpload
  • 🟢 HoverCard
  • 🟢 Menu
  • 🟢 NumberInput
  • 🟢 Pagination
  • 🟢 PinInput
  • 🟢 Popover
  • 🟢 Portal
  • 🟢 Presence
  • 🟢 Progress
  • 🟢 QRCode
  • 🟢 RadioGroup
  • 🟢 RatingGroup
  • 🟢 Select
  • 🟢 SegmentGroup
  • ⚪ SignaturePad
  • 🟢 Slider
  • ⚪ Splitter
  • 🟢 Steps
  • 🟢 Switch
  • 🟢 Tabs
  • 🟢 TagsInput
  • 🟢 Timer
  • 🟢 Toast
  • 🟢 ToggleGroup
  • 🟢 Tooltip
  • ⚪ TreeView

View components demo here