{"id":13558951,"url":"https://github.com/illright/attractions","last_synced_at":"2025-07-20T22:31:09.290Z","repository":{"id":37703587,"uuid":"256606754","full_name":"illright/attractions","owner":"illright","description":"[DEPRECATED, see readme] A pretty cool UI kit for Svelte","archived":true,"fork":false,"pushed_at":"2024-11-22T13:45:09.000Z","size":3832,"stargazers_count":1034,"open_issues_count":0,"forks_count":35,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-06-30T04:01:56.233Z","etag":null,"topics":["svelte","ui-kit"],"latest_commit_sha":null,"homepage":"https://illright.github.io/attractions","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/illright.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-04-17T20:48:30.000Z","updated_at":"2025-06-13T17:41:55.000Z","dependencies_parsed_at":"2024-04-10T01:49:23.674Z","dependency_job_id":"18d8df59-57e7-4427-9ad9-bb2c7099a7ba","html_url":"https://github.com/illright/attractions","commit_stats":{"total_commits":905,"total_committers":15,"mean_commits":"60.333333333333336","dds":0.4696132596685083,"last_synced_commit":"aad470e9372a053a5316bb5835739b62c1539134"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/illright/attractions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illright%2Fattractions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illright%2Fattractions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illright%2Fattractions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illright%2Fattractions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/illright","download_url":"https://codeload.github.com/illright/attractions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illright%2Fattractions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266210830,"owners_count":23893336,"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":["svelte","ui-kit"],"created_at":"2024-08-01T12:05:15.211Z","updated_at":"2025-07-20T22:31:08.846Z","avatar_url":"https://github.com/illright.png","language":"Svelte","funding_links":[],"categories":["Svelte","UI Libraries","svelte"],"sub_categories":["Mobile"],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/illright/attractions/master/docs/static/android-chrome-192x192.png\" alt=\"Logo\" align=\"right\" width=\"80\" /\u003e\n\n# Attractions\n\n\u003e [!IMPORTANT]\n\u003e This UI kit is now deprecated. It's originally been built for Svelte 3, since then a lot has changed in the ecosystem. Namely, Svelte 5 came out with much better ergonomics for component libraries and a lot of other great projects popped up, like [shadcn-svelte](https://www.shadcn-svelte.com/) and [Melt UI](https://www.melt-ui.com/). Today you should use those projects instead.\n\n\u003cdetails\u003e\n\n\u003csummary\u003eOld README \u003c/summary\u003e\n\n[![Inactively Maintained](https://img.shields.io/badge/Maintenance%20Level-Inactively%20Maintained-yellowgreen.svg)](https://gist.github.com/cheerfulstoic/d107229326a01ff0f333a1d3476e068d)\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/illright/attractions/auto-release.yml)](https://github.com/illright/attractions/actions?query=workflow%3ARelease)\n[![npm](https://img.shields.io/npm/v/attractions)](https://www.npmjs.com/package/attractions)\n[![npm bundle size](https://img.shields.io/bundlephobia/min/attractions)](https://bundlephobia.com/result?p=attractions)\n[![npm bundle zipped size](https://img.shields.io/bundlephobia/minzip/attractions)](https://bundlephobia.com/result?p=attractions)\n\n[![Open in Visual Studio Code](https://img.shields.io/static/v1?logo=visualstudiocode\u0026label=\u0026message=Open%20in%20Visual%20Studio%20Code\u0026labelColor=2c2c32\u0026color=007acc\u0026logoColor=007acc)](https://open.vscode.dev/illright/attractions)\n\nA pretty cool UI kit for Svelte.\n\nRefer to the main documentation: \u003chttps://illright.github.io/attractions\u003e\n\n## Installation\n\n**Step 1.** Install the library with your favorite package manager:\n\n```bash\nnpm install --save-dev attractions\n# -- or --\nyarn add --dev attractions\n# -- or --\npnpm add --save-dev attractions\n```\n\n**Step 2.** Install `svelte-preprocess`, Dart Sass and PostCSS:\n\n```bash\nnpm install --save-dev svelte-preprocess sass postcss\n# -- or --\nyarn add --dev svelte-preprocess sass postcss\n# -- or --\npnpm add --save-dev svelte-preprocess sass postcss\n```\n\n**Step 3.** Add `svelte-preprocess` to your preprocessor chain ([as shown here](https://github.com/sveltejs/svelte-preprocess/blob/main/docs/usage.md)):\n\n```js\n// rollup.config.js\nimport sveltePreprocess from 'svelte-preprocess';\n\nexport default {\n  // ...,\n  plugins: [\n    svelte({\n      preprocess: sveltePreprocess(),\n    }),\n  ],\n};\n```\n\n**Step 4.** Import the desired components as named imports and use wherever you like!\n\n```svelte\n\u003cscript\u003e\n  import { Button } from 'attractions';\n\u003c/script\u003e\n\n\u003cButton\u003eclick me\u003c/Button\u003e\n```\n\nFor more information on how to customize/theme your installation, see [the docs](https://illright.github.io/attractions/docs/theming).\n\n---\n\nAlternatively, the library can be used from a CDN, such as [unpkg](https://unpkg.com/attractions), and then the components will be registered as custom elements. This is especially useful for quick prototypes that do not need all the features provided.\n\nExample usage:\n\n```html\n\u003chead\u003e\n  \u003cscript src=\"https://unpkg.com/attractions\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n  \u003ca-button filled=\"filled\"\u003eMy button\u003c/a-button\u003e\n\u003c/body\u003e\n```\n\nFor more details, check out [the docs](https://illright.github.io/attractions/docs/custom-elements).\n\n\u003c/details\u003e\n\n## License\n\nThis project is [MIT licensed](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillright%2Fattractions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fillright%2Fattractions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillright%2Fattractions/lists"}