{"id":48422756,"url":"https://github.com/ndlabdev/sv5ui","last_synced_at":"2026-04-06T09:04:15.557Z","repository":{"id":335961748,"uuid":"1142915518","full_name":"ndlabdev/sv5ui","owner":"ndlabdev","description":"Svelte 5 UI library — 38+ typed components, Tailwind CSS 4, dark mode, accessible","archived":false,"fork":false,"pushed_at":"2026-03-27T14:07:41.000Z","size":791,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T23:59:38.023Z","etag":null,"topics":["accessible","bits-ui","dark-mode","design-system","svelte5","tailwindcss","typescript","ui-library"],"latest_commit_sha":null,"homepage":"https://sv5ui.vercel.app/","language":"TypeScript","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/ndlabdev.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":"2026-01-27T01:48:28.000Z","updated_at":"2026-03-27T14:07:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ndlabdev/sv5ui","commit_stats":null,"previous_names":["ndlabdev/sv5ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ndlabdev/sv5ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndlabdev%2Fsv5ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndlabdev%2Fsv5ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndlabdev%2Fsv5ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndlabdev%2Fsv5ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndlabdev","download_url":"https://codeload.github.com/ndlabdev/sv5ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndlabdev%2Fsv5ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31466228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: 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":["accessible","bits-ui","dark-mode","design-system","svelte5","tailwindcss","typescript","ui-library"],"created_at":"2026-04-06T09:04:12.616Z","updated_at":"2026-04-06T09:04:15.551Z","avatar_url":"https://github.com/ndlabdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/SV5UI-ff3e00?style=for-the-badge\u0026logo=svelte\u0026logoColor=white\" alt=\"SV5UI\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eSV5UI\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eModern UI component library for Svelte 5\u003c/strong\u003e\u003cbr/\u003e\n  Tailwind CSS 4 \u0026middot; OKLCH Color Tokens \u0026middot; Fully Typed \u0026middot; 50+ Components \u0026middot; 7 Hooks\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/sv5ui\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/sv5ui?style=flat-square\u0026colorA=18181b\u0026colorB=ff3e00\" alt=\"npm\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/sv5ui\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/sv5ui?style=flat-square\u0026colorA=18181b\u0026colorB=ff3e00\" alt=\"downloads\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/ndlabdev/sv5ui/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/sv5ui?style=flat-square\u0026colorA=18181b\u0026colorB=ff3e00\" alt=\"license\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://sv5ui.vercel.app\"\u003e\u003cstrong\u003eLive Demo\u003c/strong\u003e\u003c/a\u003e \u0026middot;\n  \u003ca href=\"https://sv5ui.vercel.app/getting-started\"\u003e\u003cstrong\u003eGetting Started\u003c/strong\u003e\u003c/a\u003e \u0026middot;\n  \u003ca href=\"https://github.com/ndlabdev/sv5ui/blob/main/CHANGELOG.md\"\u003e\u003cstrong\u003eChangelog\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Install\n\n```bash\nnpm install sv5ui\n# pnpm add sv5ui\n# yarn add sv5ui\n# bun add sv5ui\n```\n\n```css\n/* layout.css */\n@import 'sv5ui/theme.css';\n```\n\n```svelte\n\u003cscript\u003e\n    import { Button, Avatar, toast } from 'sv5ui'\n\u003c/script\u003e\n\n\u003cButton variant=\"soft\" color=\"primary\" leadingIcon=\"lucide:edit\"\u003eEdit\u003c/Button\u003e\n\u003cAvatar src=\"/photo.jpg\" alt=\"Jane\" size=\"lg\" /\u003e\n```\n\n## Features\n\n- **Svelte 5** — Runes, snippets, latest reactivity\n- **Tailwind CSS 4** — Utility-first with [Tailwind Variants](https://www.tailwind-variants.org/)\n- **Fully Typed** — Strict TypeScript, exported prop types\n- **Accessible** — Built on [Bits UI](https://bits-ui.com) \u0026 [Vaul Svelte](https://vaul-svelte.com)\n- **200,000+ Icons** — [Iconify](https://iconify.design) integration\n- **Themeable** — OKLCH color tokens, light/dark mode, global config\n- **Hooks** — 7 reactive hooks for common UI patterns\n\n## Hooks\n\nReactive hooks built on Svelte 5 runes and actions.\n\n```svelte\n\u003cscript\u003e\n    import { useMediaQuery, useClipboard, useDebounce } from 'sv5ui'\n\n    const isMobile = useMediaQuery('(max-width: 640px)')\n    const clipboard = useClipboard()\n    const debounce = useDebounce({ delay: 500 })\n\u003c/script\u003e\n\n{#if isMobile.matches}\n    \u003cMobileLayout /\u003e\n{/if}\n\n\u003cButton onclick={() =\u003e clipboard.copy('Hello!')}\u003e\n    {clipboard.copied ? 'Copied!' : 'Copy'}\n\u003c/Button\u003e\n```\n\n| Hook                | Type           | Description                                    |\n| ------------------- | -------------- | ---------------------------------------------- |\n| `useMediaQuery`     | Runes          | Reactive CSS media query tracking              |\n| `useClipboard`      | Runes          | Copy text with auto-reset state                |\n| `useFormField`      | Context        | Access FormField context from child components |\n| `useDebounce`       | Runes          | Debounce with pending, cancel, flush           |\n| `useClickOutside`   | Action         | Detect clicks outside an element               |\n| `useInfiniteScroll` | Runes + Action | Auto-load on scroll with loading state         |\n| `useEscapeKeydown`  | Action         | Listen for Escape key                          |\n\n## Customization\n\n```svelte\n\u003c!-- Per-instance --\u003e\n\u003cButton ui={{ base: 'rounded-full shadow-lg' }}\u003eCustom\u003c/Button\u003e\n```\n\n```ts\n// Global defaults\nimport { defineConfig } from 'sv5ui'\n\ndefineConfig({\n    button: { defaultVariants: { variant: 'outline' } },\n    icons: { loading: 'lucide:loader' }\n})\n```\n\n```css\n/* Custom colors */\n:root {\n    --color-primary: oklch(0.55 0.25 270);\n}\n```\n\n## License\n\n[MIT](LICENSE) \u0026copy; [ndlabdev](https://github.com/ndlabdev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndlabdev%2Fsv5ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndlabdev%2Fsv5ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndlabdev%2Fsv5ui/lists"}