{"id":25774430,"url":"https://github.com/markusand/bocins","last_synced_at":"2026-01-28T13:36:20.738Z","repository":{"id":167413979,"uuid":"550418402","full_name":"markusand/bocins","owner":"markusand","description":"Collection of reusable UI components for Vue 3","archived":false,"fork":false,"pushed_at":"2025-12-30T20:02:15.000Z","size":2485,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T18:15:59.167Z","etag":null,"topics":["components","ui","vue3"],"latest_commit_sha":null,"homepage":"https://bocins.netlify.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markusand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-12T18:26:36.000Z","updated_at":"2025-12-30T20:02:19.000Z","dependencies_parsed_at":"2023-07-31T11:02:54.760Z","dependency_job_id":"ee7dd95e-ef10-4098-811c-b038ad0f0d5a","html_url":"https://github.com/markusand/bocins","commit_stats":null,"previous_names":["markusand/vue-ui-components","markusand/bocins"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markusand/bocins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2Fbocins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2Fbocins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2Fbocins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2Fbocins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markusand","download_url":"https://codeload.github.com/markusand/bocins/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2Fbocins/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["components","ui","vue3"],"created_at":"2025-02-27T05:29:56.558Z","updated_at":"2026-01-28T13:36:20.724Z","avatar_url":"https://github.com/markusand.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bocins\n\nCollection of reusable UI components for Vue 3 that can be used standalone or combined together to create flexible and customized interfaces. The term **bocins** is derived from catalan and means *small bits or pieces of something*.\n\nExplore all components in [Storybook](https://bocins.netlify.app).\n\n![bocins](https://github.com/markusand/vue-ui-components/assets/12972543/762e3261-34bf-470b-8420-0c56f6333d37)\n\n[![NPM](https://img.shields.io/npm/v/bocins)](https://npmjs.org/package/bocins)\n[![NPM](https://img.shields.io/bundlephobia/minzip/bocins)](https://npmjs.org/package/bocins)\n[![NPM](https://img.shields.io/npm/l/bocins)](https://npmjs.org/package/bocins)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/57ca7f9d-4047-4f47-b37c-53102f268e60/deploy-status)](https://app.netlify.com/sites/bocins/deploys)\n\n## Get started\n\nInstall the library\n\n```bash\nnpm i bocins\n```\n\nDefault icons are copied from `/node_modules/bocins/dist/icons` to `/public/icons/`. Replace them to use your own icons. Existing icons won't be replaced.\n\nImport styles in your app entry point file or in your styles entry point\n\n```ts\n// main.ts\nimport 'bocins/dist/style.css';\n\n// main.scss\n@import 'bocins/dist/style.css';\n```\n\nYou can customize the theme using CSS variables and extending some base styles\n\n```css\n:root {\n  font-size: 16px;\n  font-family: system-ui, Arial, sans-serif;\n\n  color-scheme: light dark;\n\n  --color-bg: light-dark(#f8f8f8, #333);\n  --color-text: light-dark(#333, #efefec);\n  --color-error: #d33;\n  --color-accent: #39f;\n  --btn-color: var(--color-accent);\n}\n\nbody {\n  background-color: var(--color-bg);\n  color: var(--color-text);\n}\n\n.btn[alert] { --color: var(--color-error); }\n\n.switch {\n  --color-on: lightgreen;\n  --color-off: var(--color-error);\n}\n```\n\n## Usage\n\nImport and use components directly in your vue files\n\n```html\n\u003ctemplate\u003e\n  \u003cSelector v-model=\"user\" :options=\"store.users\"\u003e\n    \u003ctemplate #default=\"{ item: user }\"\u003e\n      \u003cAvatar :src=\"user.avatar\" :name=\"user.name\" /\u003e\n      {{ user.name }}\n    \u003c/template\u003e\n  \u003c/Selector\u003e\n\u003c/template\u003e\n\n\u003cscript setup lang=\"ts\"\u003e\nimport { ref } from 'vue';\nimport { Selector, Avatar } from 'bocins';\nimport store, { type User } from './store';\n\nconst user = ref\u003cUser\u003e();\n\u003c/script\u003e\n\n\u003cstyle scoped\u003e\n.avatar { --size: 1.5rem; }\n\u003c/style\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusand%2Fbocins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkusand%2Fbocins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusand%2Fbocins/lists"}