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

@aautcq/aautcq-ui

v0.1.1

Published

VueJS components library

Readme

AautcqUI

AautcqUI is a Vue 3 components library.

Prerequisites

You will need the following things properly installed on your computer.

Install & config

With NPM

$ npm i @aautcq/aautcq-ui

Global components registration

In your Vue project, you can either register all components globally

import App from '@/App.vue';
import { createApp } from 'vue';
import createAautcqUi from '@aautcq/aautcq-ui';

const app = createApp(App);

const AautcqUI = createAautcqUi({
  // options object
});

app.use(AautcqUI).mount('#app');

On the fly import

You can also import components one at a time

<template>
  <aa-button>Hello world</aa-button>
</template>

<script setup lang="ts">
import { AaButton } from '@aautcq/aautcq-ui';
</script>

Important: if you choose this method, you must manually initialize the Filestack service using initFilestack (documentation below).

Options

The createAautcqUi method takes an options object as parameter. Below are the keys of this object, which can be used to customize you usage of AautcqUI.

  • components - Array<String>

The array of component names to be globally registered. If not set, all components will be registered.

  • locale - String

Locale to use for component wordings. Available locales are 'fr' and 'en'.

Composables

  • Focus trap

This composable creates a focus trap: the focus cannot go outside of the specified HTML element.

<template>
  <div>
    <div ref="trapRef">Everything in here can be focused!</div>
    <div>Cannot be focused</div>
  </div>
</template>

<script setup lang="ts">
import { useFocusTrap } from '@/composables/useFocusTrap';

const { trapRef } = useFocusTrap();
</script>

Exposed methods

  • Modals

To toggle modals built using the Modal.vue component, you can use the toggle exposed method.

<template>
  <aa-modal ref="myModal" name="my-modal">I am a modal!</aa-modal>

  <button type="button" @click="myModal.toggle()">Toggle modal</button>
</template>

<script setup lang="ts">
import { ref } from 'vue';

const myModal = ref(null);
</script>

Alternatively, you can use the global toggleModal method.

<template>
  <aa-modal name="my-modal">I am a modal!</aa-modal>

  <button type="button" @click="toggleModal('my-modal')">Toggle modal</button>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import { toggleModal } from '@aautcq/aautcq-ui';
</script>
  • Locale

If you chose to import components on the fly (see above for more details), you might need to manually initialize the locale using the setLocale method.

In your main.js file:

import { setLocale } from '@aautcq/aautcq-ui';

const locale = 'fr';
setLocale(locale);

The accepted locale is the same as the options.locale string used in the createAautcqUi method.

Build the library

Kindly ask another developper for the content of the .env file, then run

$ npm run build

Run the documentation locally

To run the documentation locally, run

$ npm run docs:dev

Further Reading / Useful Links