dependabot[bot] 61bd960f9b
build(deps-dev): bump @storybook/vue3-vite in /packages/ui
Bumps [@storybook/vue3-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/vue3-vite) from 10.3.3 to 10.3.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v10.3.4/code/frameworks/vue3-vite)

---
updated-dependencies:
- dependency-name: "@storybook/vue3-vite"
  dependency-version: 10.3.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-04 01:08:59 +00:00
..

@ocelot-social/ui

Vue component library for ocelot.social - works with Vue 2.7+ and Vue 3.

Installation

npm install @ocelot-social/ui

Usage

Import only the components you need. This enables tree-shaking for smaller bundle sizes.

import { OsButton } from '@ocelot-social/ui'
<template>
  <OsButton variant="primary">Click me</OsButton>
</template>

<script setup>
import { OsButton } from '@ocelot-social/ui'
</script>

Option 2: Global Registration

Register all components globally via the Vue plugin. No tree-shaking - all components are included in the bundle.

// main.ts
import { createApp } from 'vue'
import { OcelotUI } from '@ocelot-social/ui'
import App from './App.vue'

const app = createApp(App)
app.use(OcelotUI)
app.mount('#app')

Components are then available globally without imports:

<template>
  <OsButton variant="primary">Click me</OsButton>
</template>

Vue 2.7 Support

This library uses vue-demi for Vue 2/3 compatibility.

// Vue 2.7
import Vue from 'vue'
import { OcelotUI } from '@ocelot-social/ui'

Vue.use(OcelotUI)