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

@sometic/vue

v1.2.6

Published

Native Vue adapters and components powered by the Sometic framework-independent primitive engine.

Readme

@sometic/vue

Native Vue adapters and components powered by Sometic’s framework-independent behavior engines.

@sometic/vue is the Wave A Vue 3 surface for Sometic. Components and composables map shared engines (@sometic/dom, @sometic/forms, @sometic/store, @sometic/auth, @sometic/http, and related packages) into Vue props, emits, provide/inject, and computed subscriptions. It is not a visual kit. You keep ownership of classes, styles, and tokens. Press handling, field metadata, form lifecycle, session updates, and HTTP access stay in the engines so the same behavior model works across stacks.

Sometic’s product promise is one behavior model for UI, forms, auth, HTTP, and document head. Vue adapters stay thin on purpose: they must not reimplement validation, auth refresh, or button resolution per framework. That keeps disposable cleanup (onScopeDispose), SSR-safe imports, and native element semantics aligned with React and Vanilla. Choose this package when you ship Vue 3.5+ and want idiomatic components/composables without locking behavior into Vue-only code.

Standout surfaces ship as tree-shakeable subpaths: button family (Button, IconButton, ToggleButton, AsyncButton, ButtonGroup), field and input variants, useForm / Form / FormProvider / field helpers, auth composables (useAuth, useSession, useCan), useHttp, useStore, selection controls, overlays such as Dialog, Popover, Tooltip, and ToastRegion, and structure (Tabs, Accordion, Breadcrumb, CommandPalette, Tree, plus Badge, Progress, Spinner, Skeleton) from @sometic/vue/structure. Prefer @sometic/vue/button (and siblings) when you only need one module.

In the ecosystem, Vue sits with React and Web Components as a production adapter target above @sometic/core and engines like @sometic/dom. Product overview: Introduction. Adapter model: Framework adapters.

Install

Peer: vue ^3.5.

pnpm add @sometic/vue vue
npm install @sometic/vue vue
yarn add @sometic/vue vue

Usage

Button component:

<script setup lang="ts">
import { Button } from "@sometic/vue/button";
</script>

<template>
    <Button type="button" :loading="false" @click="() => {}">Save</Button>
</template>

Form + store (second surface):

import { Form, useForm, useFormField } from "@sometic/vue/form";
import { useStore } from "@sometic/vue/store";
import { createStore } from "@sometic/store";
import { defineComponent, h } from "vue";

const ui = createStore({ draftSaved: false });

export const ProfileForm = defineComponent({
    setup() {
        const { form } = useForm({ defaultValues: { email: "" } });
        const draftSaved = useStore(ui, (state) => state.draftSaved);
        const email = useFormField(form, "email");

        return () =>
            h(
                Form,
                {
                    form,
                    onValid: (values: { email: string }) => {
                        ui.set({ draftSaved: true });
                        console.log(values.email, draftSaved.value);
                    },
                },
                () => [
                    h("input", {
                        value: String(email.value.value ?? ""),
                        onInput: (event: Event) => {
                            email.setValue((event.target as HTMLInputElement).value);
                        },
                        onBlur: () => email.onBlur(),
                    }),
                    h("button", { type: "submit" }, "Submit"),
                ],
            );
    },
});

Auth composables live under @sometic/vue/auth (useAuth, useSession, useCan) when you pass createAuth options or an existing AuthController.

Peers / when not to use

  • Requires Vue 3.5+ as a peer. Without Vue, use @sometic/dom, @sometic/elements, or @sometic/react.
  • Not a replacement for Nuxt UI kits or CSS frameworks. Pair with your own styling and optional @sometic/theme.
  • Wave B packages expose store-bind foundations only; do not expect this full kit from @sometic/svelte / @sometic/solid yet.

Docs

License

MIT