{"id":21015084,"url":"https://github.com/albingroen/utilcomps","last_synced_at":"2025-05-15T05:31:42.244Z","repository":{"id":57389083,"uuid":"404505274","full_name":"albingroen/utilcomps","owner":"albingroen","description":"🧱 Utilitarian component library written in Svelte, for Svelte","archived":true,"fork":false,"pushed_at":"2021-10-07T10:58:30.000Z","size":188,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T05:05:58.658Z","etag":null,"topics":["components","svelte","tailwindcss"],"latest_commit_sha":null,"homepage":"https://utilcomps.vercel.app","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/albingroen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["albingroen"]}},"created_at":"2021-09-08T21:50:28.000Z","updated_at":"2024-11-15T07:55:20.000Z","dependencies_parsed_at":"2022-09-19T18:22:52.375Z","dependency_job_id":null,"html_url":"https://github.com/albingroen/utilcomps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albingroen%2Futilcomps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albingroen%2Futilcomps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albingroen%2Futilcomps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albingroen%2Futilcomps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albingroen","download_url":"https://codeload.github.com/albingroen/utilcomps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254282049,"owners_count":22045078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","svelte","tailwindcss"],"created_at":"2024-11-19T10:08:37.422Z","updated_at":"2025-05-15T05:31:38.367Z","avatar_url":"https://github.com/albingroen.png","language":"Svelte","readme":"# utility components\n\n\u003cp\u003e\n\u003ca href=\"https://www.npmjs.com/package/utilcomps\"\u003e\u003cimg alt=\"1\" src=\"https://img.shields.io/npm/v/utilcomps\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/albingroen/utilcomps/blob/3e612b94f67c264c31bd48fe66f350e1ad1d8c82/package.json#L5\"\u003e\u003cimg alt=\"2\" src=\"https://img.shields.io/npm/l/utilcomps\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/albingroen/utilcomps/commits/main\"\u003e\u003cimg alt=\"3\" src=\"https://img.shields.io/github/commit-activity/m/albingroen/utilcomps\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Utilitarian component library written in Svelte, for Svelte\n\n## Table of Contents\n\n- [Title](#utility-components)\n- [About](#about)\n- [Installation](#installation)\n- [Tailwind CSS configuration](#tailwind-css-configuration)\n- [Global styling](#global-styling)\n- [Usage](#usage)\n- [Components](#components)\n\n## About\n\nUtilcomps is a utilitarian component library written in Svelte, for Svelte. The\nidea is to provide a functional set of common components that focus on being\nutilitarian, accessible, and functional, instead of being all too flashy.\nInspired by classic software like [Cinema\n4D](https://www.maxon.net/en/cinema-4d), [Blender](https://www.blender.org),\nand the [Adobe Suite](https://www.adobe.com).\n\n## Installation\n\nInstalling utilcomps is very easy. Simply install it with your favorite\nJavaScript package manager.\n\n```sh\nnpm install utilcomps\n```\n\n## Tailwind CSS configuration\n\nTailwind CSS is the styling foundation for utilcomps. In order to get all\ncorrect styles, we provide a Tailwind CSS configuration object, that you can use to\nconfigure your local version of Tailwind CSS.\n\n```sh\nnpm install twind\n```\n\nSet up Tailwind CSS ([twind](https://twind.dev) for example) in a top level file.\n\n```svelte\n\u003cscript\u003e\n\timport { tailwindConfig } from 'utilcomps';\n\timport { setup } from 'twind';\n\n\tsetup(tailwindConfig);\n\u003c/script\u003e\n```\n\n## Global styling\n\nIn order to get utilcomps's components to look as good, and work as good, as\npossible. We reommend adding a couple of lines of global styling. For example,\nwe designed utilcomps with the [Inter font family](https://rsms.me/inter/), so\nwe highly recommend you use it as well.\n\n```css\n@import url('https://rsms.me/inter/inter.css');\n\n* {\n\tbox-sizing: border-box;\n\tpadding: 0;\n\tmargin: 0;\n}\n\nhtml {\n\tbackground-color: #323232;\n}\n```\n\n## Usage\n\nUsing utilcomps components is also very easy. Simple import a component of your\nchoce from the utilcomps library inside of a script tag, and use it like any\nother Svelte component.\n\n```svelte\n\u003cscript\u003e\n\timport { Button } from 'utilcomps';\n\u003c/script\u003e\n\n\u003cButton\u003eClick me\u003c/Button\u003e\n```\n\n## Components\n\nTo see a full demo of all components in utilcomps, visit the webiste below.\n\n[https://utilcomps.vercel.app](https://utilcomps.vercel.app)\n","funding_links":["https://github.com/sponsors/albingroen"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbingroen%2Futilcomps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbingroen%2Futilcomps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbingroen%2Futilcomps/lists"}