JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q52658F
  • License MIT

Accessible, unstyled UI components designed for static websites. HTML and JavaScript powered by TypeScript and ZagJS.

Package Exports

  • @corex-ui/static
  • @corex-ui/static/components/accordion
  • @corex-ui/static/components/accordion.min
  • @corex-ui/static/components/angle-slider
  • @corex-ui/static/components/angle-slider.min
  • @corex-ui/static/components/avatar
  • @corex-ui/static/components/avatar.min
  • @corex-ui/static/components/carousel
  • @corex-ui/static/components/carousel.min
  • @corex-ui/static/components/checkbox
  • @corex-ui/static/components/checkbox.min
  • @corex-ui/static/components/clipboard
  • @corex-ui/static/components/clipboard.min
  • @corex-ui/static/components/code
  • @corex-ui/static/components/code.min
  • @corex-ui/static/components/collapsible
  • @corex-ui/static/components/collapsible.min
  • @corex-ui/static/components/color-picker
  • @corex-ui/static/components/color-picker.min
  • @corex-ui/static/components/combobox
  • @corex-ui/static/components/combobox.min
  • @corex-ui/static/components/date-picker
  • @corex-ui/static/components/date-picker.min
  • @corex-ui/static/components/dialog
  • @corex-ui/static/components/dialog.min
  • @corex-ui/static/components/editable
  • @corex-ui/static/components/editable.min
  • @corex-ui/static/components/file-upload
  • @corex-ui/static/components/file-upload.min
  • @corex-ui/static/components/floating-panel
  • @corex-ui/static/components/floating-panel.min
  • @corex-ui/static/components/listbox
  • @corex-ui/static/components/listbox.min
  • @corex-ui/static/components/menu
  • @corex-ui/static/components/menu.min
  • @corex-ui/static/components/number-input
  • @corex-ui/static/components/number-input.min
  • @corex-ui/static/components/password-input
  • @corex-ui/static/components/password-input.min
  • @corex-ui/static/components/pin-input
  • @corex-ui/static/components/pin-input.min
  • @corex-ui/static/components/qr-code
  • @corex-ui/static/components/qr-code.min
  • @corex-ui/static/components/radio-group
  • @corex-ui/static/components/radio-group.min
  • @corex-ui/static/components/select
  • @corex-ui/static/components/select.min
  • @corex-ui/static/components/signature-pad
  • @corex-ui/static/components/signature-pad.min
  • @corex-ui/static/components/site-search
  • @corex-ui/static/components/site-search.min
  • @corex-ui/static/components/switch
  • @corex-ui/static/components/switch.min
  • @corex-ui/static/components/tabs
  • @corex-ui/static/components/tabs.min
  • @corex-ui/static/components/timer
  • @corex-ui/static/components/timer.min
  • @corex-ui/static/components/toast
  • @corex-ui/static/components/toast.min
  • @corex-ui/static/components/toggle-group
  • @corex-ui/static/components/toggle-group.min
  • @corex-ui/static/components/tree-view
  • @corex-ui/static/components/tree-view.min
  • @corex-ui/static/lib
  • @corex-ui/static/lib/component
  • @corex-ui/static/lib/component.min
  • @corex-ui/static/lib/index
  • @corex-ui/static/lib/index.min
  • @corex-ui/static/lib/util
  • @corex-ui/static/lib/util.min

Readme

@corex-ui/static

Accessible, unstyled UI components for static websites. HTML and JavaScript powered by TypeScript and ZagJS.

Version Downloads/week

For the complete Corex UI ecosystem, documentation, and advanced guides, visit Corex UI Official Docs.


✨ Features

  • 🔹 Fully accessible and unstyled components
  • 🏗️ Prebuilt HTML & JavaScript for static websites
  • ⚡ Works in vanilla HTML/JS environments
  • 🎯 Powered by ZagJS for robust UI behavior
  • 📦 Modular: import only the components you need

📦 Installation

npm install @corex-ui/static
# or
pnpm add @corex-ui/static

🚀 Usage

Vanilla Static (HTML + JS)

import "@corex-ui/static/components/accordion";
// Initializes Accordion automatically

Import all components (for development / preview)

import "@corex-ui/static";
// Initializes all components automatically

Add the component HTML

<div class="accordion accordion-js">
  <div data-part="root">
    <div data-part="item">
      <h3>
        <button data-part="item-trigger">
          <span data-part="item-text">Lorem ipsum dolor sit amet</span>
          <span data-part="item-indicator">
            <svg
              xmlns="http://www.w3.org/2000/svg"
              fill="none"
              viewBox="0 0 24 24"
              stroke-width="1.5"
              stroke="currentColor"
            >
              <path
                stroke-linecap="round"
                stroke-linejoin="round"
                d="m8.25 4.5 7.5 7.5-7.5 7.5"
              ></path>
            </svg>
          </span>
        </button>
      </h3>
      <div data-part="item-content">
        <p>
          Consectetur adipiscing elit. Sed sodales ullamcorper tristique. Proin
          quis risus feugiat tellus iaculis fringilla.
        </p>
      </div>
    </div>
    <div data-part="item">
      <h3>
        <button data-part="item-trigger">
          <span data-part="item-text"
            >Duis dictum gravida odio ac pharetra?</span
          >
          <span data-part="item-indicator">
            <svg
              xmlns="http://www.w3.org/2000/svg"
              fill="none"
              viewBox="0 0 24 24"
              stroke-width="1.5"
              stroke="currentColor"
            >
              <path
                stroke-linecap="round"
                stroke-linejoin="round"
                d="m8.25 4.5 7.5 7.5-7.5 7.5"
              ></path>
            </svg>
          </span>
        </button>
      </h3>
      <div data-part="item-content">
        <p>
          Nullam eget vestibulum ligula, at interdum tellus. Quisque feugiat,
          dui ut fermentum sodales, lectus metus dignissim ex.
        </p>
      </div>
    </div>
    <div data-part="item">
      <h3>
        <button data-part="item-trigger">
          <span data-part="item-text">Donec condimentum ex mi</span>
          <span data-part="item-indicator">
            <svg
              xmlns="http://www.w3.org/2000/svg"
              fill="none"
              viewBox="0 0 24 24"
              stroke-width="1.5"
              stroke="currentColor"
            >
              <path
                stroke-linecap="round"
                stroke-linejoin="round"
                d="m8.25 4.5 7.5 7.5-7.5 7.5"
              ></path>
            </svg>
          </span>
        </button>
      </h3>
      <div data-part="item-content">
        <p>
          Congue molestie ipsum gravida a. Sed ac eros luctus, cursus turpis
          non, pellentesque elit. Pellentesque sagittis fermentum.
        </p>
      </div>
    </div>
  </div>
</div>

📝 License

MIT © Netoum.com