npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@quiltt/vue

v5.2.0

Published

Vue 3 Composables and Components for Quiltt Connector

Readme

@quiltt/vue

npm version CI

Vue 3 composables and components for Quiltt Connector.

For general project information and contributing guidelines, see the main repository README.

Installation

npm install @quiltt/vue vue

Core Modules and Types

@quiltt/vue re-exports all functionality from @quiltt/core, so you only need to install this one package to access core API clients, authentication utilities, storage, and TypeScript types along with Vue components and composables. See the Core README for more information.

Quick Start

// main.ts
import { createApp } from 'vue'
import { QuilttPlugin } from '@quiltt/vue'

createApp(App).use(QuilttPlugin).mount('#app')
<script setup lang="ts">
import { QuilttButton, useQuilttSession } from '@quiltt/vue'

const { importSession } = useQuilttSession()

// Set session token when available (e.g., after login)
const onLogin = async (token: string) => {
  await importSession(token)
}
</script>

<template>
  <QuilttButton
    connector-id="YOUR_CONNECTOR_ID"
    @exit-success="(m) => console.log('Connected:', m.connectionId)"
  >
    Add Bank Account
  </QuilttButton>
</template>

Components

For better tree-shaking, you can import components from subpaths:

import { QuilttButton } from '@quiltt/vue/components'

QuilttButton

Opens the connector in a modal overlay.

<QuilttButton connector-id="YOUR_CONNECTOR_ID" @exit-success="handleSuccess">
  Connect Account
</QuilttButton>

QuilttContainer

Renders the connector inline.

<QuilttContainer connector-id="YOUR_CONNECTOR_ID" @exit-success="handleSuccess" />

QuilttConnector

Full-page iframe for embedded integration.

<QuilttConnector
  connector-id="YOUR_CONNECTOR_ID"
  @exit-success="handleSuccess"
  @navigate="handleNavigate"
  style="width: 100%; height: 100vh" />

Composables

For better tree-shaking, you can import composables from subpaths:

import { useQuilttSession } from '@quiltt/vue/composables'

useQuilttSession

import { useQuilttSession } from '@quiltt/vue'

const {
  session,             // Reactive session state
  importSession,       // Import an existing token
  identifySession,     // Start auth flow (email/phone)
  authenticateSession, // Complete auth (passcode)
  revokeSession,       // Invalidate session server-side
  forgetSession,       // Clear session locally
} = useQuilttSession()

await importSession('YOUR_SESSION_TOKEN')
console.log(session.value?.token)

useQuilttConnector

import { useQuilttConnector } from '@quiltt/vue'

const { open } = useQuilttConnector('YOUR_CONNECTOR_ID', {
  onExitSuccess: (m) => console.log('Connected:', m.connectionId),
})
<button @click="open">Add Account</button>

Additional Composables

@quiltt/vue also exports:

  • useQuilttInstitutions — Search available institutions for a connector.
  • useQuilttResolvable — Check if a provider connection can be resolved.
  • useQuilttSettings — Access plugin-provided settings such as clientId.
  • useSession — Low-level reactive session state manager.
  • useStorage — Reactive wrapper around Quiltt global storage.

Composable context behavior:

  • useQuilttSession, useQuilttInstitutions, and useQuilttResolvable require QuilttPlugin provider context and throw if used without it.
  • useQuilttConnector continues without plugin session context and logs a warning.
  • useQuilttSettings returns undefined values when plugin context is unavailable.

Plugin Exports

You can import plugin utilities from the dedicated subpath:

import { QuilttPlugin, QuilttSessionKey, QuilttSetSessionKey } from '@quiltt/vue/plugin'

Props and Events

| Prop | Type | Description | | ------ | ------ | ------------- | | connector-id | string | Required. Quiltt Connector ID | | connection-id | string | Existing connection ID for reconnection | | institution | string | Pre-select an institution | | app-launcher-url | string | Deep link URL for OAuth callbacks |

| Event | Payload | Description | | ------- | --------- | ------------- | | @load | metadata | Connector loaded | | @exit-success | metadata | Connection successful | | @exit-abort | metadata | User cancelled | | @exit-error | metadata | Error occurred |

Reconnection

Pass connection-id to reconnect an existing connection:

<QuilttButton connection-id="YOUR_EXISTING_CONNECTION_ID" ... />

Capacitor / Ionic

For mobile apps, use @quiltt/capacitor/vue which adds native OAuth handling:

import { QuilttConnector, QuilttConnectorPlugin } from '@quiltt/capacitor/vue'

// Handle OAuth deep links
QuilttConnectorPlugin.addListener('deepLink', ({ url }) => {
  connectorRef.value?.handleOAuthCallback(url)
})

See @quiltt/capacitor for full documentation.

Resources

License

MIT

Contributing

For information on how to contribute to this project, please refer to the repository contributing guidelines.

Related Packages