{"id":30126498,"url":"https://github.com/iotaledger/iota-ui-kit","last_synced_at":"2025-08-10T16:51:01.094Z","repository":{"id":226052274,"uuid":"713878945","full_name":"iotaledger/iota-ui-kit","owner":"iotaledger","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-21T10:12:00.000Z","size":1176,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-31T18:43:45.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/iotaledger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-11-03T12:35:17.000Z","updated_at":"2024-05-21T10:12:02.000Z","dependencies_parsed_at":"2024-03-20T16:58:36.530Z","dependency_job_id":"c12cdb6f-d090-4811-b944-8d133269dc2a","html_url":"https://github.com/iotaledger/iota-ui-kit","commit_stats":null,"previous_names":["iotaledger/iota-ui-kit"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/iotaledger/iota-ui-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-ui-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-ui-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-ui-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-ui-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iotaledger","download_url":"https://codeload.github.com/iotaledger/iota-ui-kit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-ui-kit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269756297,"owners_count":24470560,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-10T16:50:57.191Z","updated_at":"2025-08-10T16:51:01.037Z","avatar_url":"https://github.com/iotaledger.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IOTA UI Kit 🧰\n\nOfficial UI Kit for IOTA apps built with Svelte, TypeScript, and Tailwind CSS. This kit provides you with reusable, easy-to-use components for building consistent interfaces with the IOTA design system.\n\n## Features ✨\n\n- **Reusable Components**: Efficient pre-built components.\n- **Easy to Use**: Developer-friendly design for seamless integration.\n- **Storybook**: Visual documentation and testing in an isolated environment.\n\n## Installation 🛠️\n\nAdd the UI Kit to your project with Yarn:\n\n```bash\nyarn add @iota/ui-kit\n```\n\nTo be able to use the fonts you need to add the following link to the head in the HTML. `\u003clink rel=\"stylesheet\" href=\"https://webassets.iota.org/api/protected?face=alliance-no2\" /\u003e`\n\n## Usage 📦\n\nHere's a simple example to demonstrate how to use our components in a Svelte project:\n\n```svelte\n\u003cscript lang=\"ts\"\u003e\n  import { Button, ButtonType, ButtonSize } from '@iota/ui-kit';\n  import { ComponentProps } from 'svelte';\n\n  const BUTTON: ComponentProps\u003cButton\u003e = {\n    type: ButtonType.Primary,\n    label: 'Click Me',\n  }\n\n  const handleOnClick = () =\u003e {\n    console.log('Button clicked!');\n  }\n\u003c/script\u003e\n\n\u003cButton { ...BUTTON } on:click={handleOnClick} /\u003e\n```\n\n### Stores 🏪\n\nThe UI Kit uses Svelte stores to manage global state. You can import them from `@iota/ui-kit/stores` and use them in your components:\n\n- **isSmallScreen**: Returns true if the innerWidth of the screen is less than 1024px. \n- **isMobile**: Returns true if the innerWidth of the screen is less than 768px.\n\n## Requirements 📋\n\nEnsure you have the following installed:\n\n- Node.js \u003e= 18.12.x\n- Yarn \u003e= 1.22.x\n\n## Development 🧑‍💻\n\nTo view and test the components in Storybook, run:\n\n```sh\nyarn storybook\n```\nThis command will start a development server at http://localhost:6006. Open it in your browser to explore and interact with the components.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotaledger%2Fiota-ui-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiotaledger%2Fiota-ui-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotaledger%2Fiota-ui-kit/lists"}