JSPM

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

Stream-able and resumable icon button component, built with Qwik

Package Exports

  • @ipohjs/qwik-icon-button

Readme

@ipohjs/qwik-icon-button

Icon button component used in @ipohjs, built with Qwik.


Buy me a coffee Follow me

npm-latest MIT License

Downloads Total downloads

Dependencies ci publish codecov

Code of Conduct

Yet another icon button component built with Qwik.

The stream-able and resumable UI component you will ever need. Visit @ipohjs/webui for more components.

Pre-requisite

Install

# Install via npm
$ pnpm install @ipohjs/qwik-icon-button

# Install via pnpm
$ pnpm install @ipohjs/qwik-icon-button

Usage

@ipohjs/qwik-icon-button

import { QwikIconButton } from '@ipohjs/qwik-icon-button';

export const Main = component$(() => {
  const onClick$ = $<QwikIconButtonProps['onClick$']>((ev) => {
    console.debug('click', ev);
  });

  return (
    <main>
      <QwikIconButton onClick$={onClick$}>
        <svg q:slot="icon">{'...'}</svg>
      </QwikIconButton>
    </main>
  );
});

License

MIT License © @ipohjs/core-team