shadcn/ui, but for Svelte. ✨
This report summarizes scanner evidence for huntabyte/shadcn-svelte, a TypeScript project with 9,234 GitHub stars. SynthScan examined 300,482 lines of code across 5909 source files, recording 107 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 65 finding(s).
Are imports declared and package/API names verified? 42 finding(s).
Are wrappers, guards, and repeated structures necessary? 49 finding(s).
Which changes need focused human review? 107 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 107 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/mdsx.config.js | 109 | function remarkRemovePrettierIgnore() { | CODE |
| LOW | docs/mdsx.config.js | 269 | function getComponentSourceFileContent(src = "") { | CODE |
| LOW | docs/static/registry/chart.json | 25 | "content": "import type { Tooltip } from \"layerchart\";\nimport { getContext, setContext, type Component, type Compo | CODE |
| LOW | docs/static/registry/styles/luma/chart.json | 25 | "content": "import { getContext, setContext, type Component, type Snippet } from \"svelte\";\nimport type { Tooltip } | CODE |
| LOW | docs/static/registry/styles/sera/chart.json | 25 | "content": "import { getContext, setContext, type Component, type Snippet } from \"svelte\";\nimport type { Tooltip } | CODE |
| LOW | docs/static/registry/styles/vega/chart.json | 25 | "content": "import { getContext, setContext, type Component, type Snippet } from \"svelte\";\nimport type { Tooltip } | CODE |
| LOW | docs/static/registry/styles/nova/chart.json | 25 | "content": "import { getContext, setContext, type Component, type Snippet } from \"svelte\";\nimport type { Tooltip } | CODE |
| LOW | docs/static/registry/styles/mira/chart.json | 25 | "content": "import { getContext, setContext, type Component, type Snippet } from \"svelte\";\nimport type { Tooltip } | CODE |
| LOW | docs/static/registry/styles/maia/chart.json | 25 | "content": "import { getContext, setContext, type Component, type Snippet } from \"svelte\";\nimport type { Tooltip } | CODE |
| LOW | docs/static/registry/styles/rhea/chart.json | 25 | "content": "import { getContext, setContext, type Component, type Snippet } from \"svelte\";\nimport type { Tooltip } | CODE |
| LOW | docs/static/registry/styles/lyra/chart.json | 25 | "content": "import { getContext, setContext, type Component, type Snippet } from \"svelte\";\nimport type { Tooltip } | CODE |
| LOW | docs/scripts/build-registry.ts | 212 | function transformContentWithStyle(content: string, styleMap: Record<string, string>): string { | CODE |
| LOW | docs/src/lib/colors.ts | 82 | function getForegroundFromBackground(rgb: string): string { | CODE |
| LOW | docs/src/lib/components/message-animated.svelte | 48 | function getMessageAnimatedContentParts(current: MessageAnimatedMessage) { | CODE |
| LOW | docs/src/lib/components/colors/colors.ts | 76 | function getForegroundFromBackground(rgb: string) { | CODE |
| LOW | docs/src/lib/components/colors/colors.ts | 89 | export function generateBaseColorTemplate(baseColor: BaseColor) { | CODE |
| LOW | docs/src/lib/components/icons/icons.ts | 7 | export function getIconForLanguageExtension(language: string) { | CODE |
| LOW | docs/src/lib/registry/registry-utils.ts | 32 | export function createFileTreeForRegistryItemFiles( | CODE |
| LOW | docs/src/lib/registry/registry-utils.ts | 166 | function createTransformInjectStyles(styles: Record<string, string>): Transformer { | CODE |
| LOW | docs/src/lib/registry/ui/chart/chart-utils.ts | 21 | export function getPayloadConfigFromPayload( | CODE |
| LOW | …istry/examples/create/combobox/combobox-invalid.svelte | 30 | function closeAndFocusTriggerInvalid() { | CODE |
| LOW | …istry/examples/create/elevenlabs/bar-visualizer.svelte | 6 | function generateConnectingSequenceBar(columns: number): number[][] { | CODE |
| LOW | …istry/examples/create/elevenlabs/bar-visualizer.svelte | 14 | function generateListeningSequenceBar(columns: number): number[][] { | CODE |
| LOW | packages/parity/src/compare.ts | 93 | export function extractUpstreamComponentNames(content: string): Set<string> { | CODE |
| LOW | packages/parity/src/compare.ts | 142 | export function sourceFileHasUpstreamCounterpart( | CODE |
| LOW | packages/parity/src/compare.ts | 337 | function canonicalizeStateVariants(token: string): string { | CODE |
| LOW | packages/parity/src/compare.ts | 787 | function applyIgnoredTokensFromSource(json: ClassOccurrence[], source: ClassOccurrence[]) { | CODE |
| LOW | packages/parity/src/compare.ts | 1181 | function dropRuntimeEquivalentDiffs(added: string[], removed: string[]) { | CODE |
| LOW | packages/parity/src/compare.ts | 1552 | function resolveUpstreamRadixUiDir(): string | undefined { | CODE |
| LOW | packages/parity/src/parity-ignore.ts | 15 | export function parseParityIgnoreUpstream( | CODE |
| LOW | packages/parity/src/parity-ignore.ts | 50 | export function stripParityIgnoreComments(content: string): string { | CODE |
| LOW | packages/cli/src/utils/transformers/transform-font.ts | 122 | function processNoSubstTemplateLiteral( | CODE |
| LOW | packages/primitives/src/lib/questionnaire/collection.ts | 15 | export function createQuestionnaireCollection( | CODE |
| LOW | packages/primitives/src/lib/questionnaire/collection.ts | 77 | export function getCollectionDefinitionWarnings( | CODE |
| LOW | packages/primitives/src/lib/questionnaire/collection.ts | 117 | export function getCollectionRegistrationWarnings( | CODE |
| LOW | …itives/src/lib/questionnaire/questionnaire-ssr.test.ts | 362 | async function renderServerQuestionnaire({ defaultItem }: { defaultItem?: string } = {}) { | CODE |
| LOW | …ckages/primitives/src/lib/message-scroller/geometry.ts | 13 | function getMessageScrollerScrollable({ | CODE |
| LOW | …ckages/primitives/src/lib/message-scroller/geometry.ts | 36 | function getMessageScrollerVisibilityState({ | CODE |
| LOW | …ckages/primitives/src/lib/message-scroller/geometry.ts | 125 | function getUnanchoredScrollAnchor( | CODE |
| LOW | …ckages/primitives/src/lib/message-scroller/geometry.ts | 138 | function hasMultipleNewScrollAnchors(items: HTMLElement[], previousItemCount: number) { | CODE |
| LOW | …ckages/primitives/src/lib/message-scroller/geometry.ts | 170 | function getFirstVisibleMessageItem({ | CODE |
| LOW | …ives/src/lib/message-scroller/message-scroller.test.ts | 1326 | function renderPendingScrollFirstPaint(props: PendingScrollTreeProps) { | CODE |
| LOW | …ives/src/lib/message-scroller/message-scroller.test.ts | 1334 | function renderPendingScrollToContainer(props: PendingScrollTreeProps) { | CODE |
| LOW | …ives/src/lib/message-scroller/message-scroller.test.ts | 1359 | async function renderTestScrollerWithParent( | CODE |
| LOW | …ives/src/lib/message-scroller/message-scroller.test.ts | 1446 | function installIntersectionObserver() { | CODE |
| LOW | …es/src/lib/message-scroller/message-scroller.svelte.ts | 116 | function createMessageScrollerRefs({ | CODE |
| LOW | …es/src/lib/message-scroller/message-scroller.svelte.ts | 169 | function createMessageScrollerCommands({ | CODE |
| LOW | …es/src/lib/message-scroller/message-scroller.svelte.ts | 1493 | export function useMessageScrollerScrollable(): MessageScrollerScrollable { | CODE |
| LOW | …es/src/lib/message-scroller/message-scroller.svelte.ts | 1497 | export function useMessageScrollerVisibility(): MessageScrollerVisibilityState { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/src/lib/registry/blocks/demo-sidebar-icon.svelte | 38 | { name: "Acme Inc", logo: GalleryVerticalEndIcon, plan: "Enterprise" }, | CODE |
| LOW | …gistry/blocks/sidebar-10/components/app-sidebar.svelte | 17 | name: "Acme Inc", | CODE |
| LOW | …egistry/blocks/signup-02/components/signup-form.svelte | 21 | <Input id="name" type="text" placeholder="John Doe" required /> | CODE |
| LOW | …egistry/blocks/signup-03/components/signup-form.svelte | 23 | <Input id="name" type="text" placeholder="John Doe" required /> | CODE |
| LOW | docs/src/lib/registry/blocks/login-02/+page.svelte | 27 | alt="placeholder" | CODE |
| LOW | …/registry/blocks/login-04/components/login-form.svelte | 85 | alt="placeholder" | CODE |
| LOW | …istry/blocks/sidebar-15/components/sidebar-left.svelte | 25 | name: "Acme Inc", | CODE |
| LOW | …gistry/blocks/sidebar-07/components/app-sidebar.svelte | 22 | name: "Acme Inc", | CODE |
| LOW | …egistry/blocks/signup-01/components/signup-form.svelte | 21 | <Input id="name" type="text" placeholder="John Doe" required /> | CODE |
| LOW | docs/src/lib/registry/examples/input-form.svelte | 50 | <Input id="form-address" type="text" placeholder="123 Main St" /> | CODE |
| LOW | …/src/lib/registry/examples/dialog-sticky-footer.svelte | 18 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt | CODE |
| LOW | …/src/lib/registry/examples/dialog-sticky-footer.svelte | 18 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt | CODE |
| LOW | …/src/lib/registry/examples/field-field-set-demo.svelte | 12 | <Input id="street" type="text" placeholder="123 Main St" /> | CODE |
| LOW | docs/src/lib/registry/examples/drawer-direction.svelte | 25 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | docs/src/lib/registry/examples/drawer-direction.svelte | 25 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …lib/registry/examples/dialog-scrollable-content.svelte | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt | CODE |
| LOW | …lib/registry/examples/dialog-scrollable-content.svelte | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt | CODE |
| LOW | docs/src/lib/registry/examples/sheet-side.svelte | 24 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | docs/src/lib/registry/examples/sheet-side.svelte | 24 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …lib/registry/examples/drawer-scrollable-content.svelte | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt | CODE |
| LOW | …lib/registry/examples/drawer-scrollable-content.svelte | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt | CODE |
| LOW | …lib/registry/examples/create/home/sheet-example.svelte | 30 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …lib/registry/examples/create/home/sheet-example.svelte | 30 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …/lib/registry/examples/create/home/form-example.svelte | 55 | <Input id="checkout-7j9-card-name-43j" placeholder="John Doe" required /> | CODE |
| LOW | …gistry/examples/create/drawer/drawer-with-sides.svelte | 28 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …gistry/examples/create/drawer/drawer-with-sides.svelte | 28 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …xamples/create/drawer/drawer-scrollable-content.svelte | 22 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …xamples/create/drawer/drawer-scrollable-content.svelte | 22 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …c/lib/registry/examples/create/input/input-form.svelte | 25 | <Input.Root id="form-name" type="text" placeholder="John Doe" /> | CODE |
| LOW | …c/lib/registry/examples/create/input/input-form.svelte | 53 | <Input.Root id="form-address" type="text" placeholder="123 Main St" /> | CODE |
| LOW | …istry/examples/create/sidebar-icon/sidebar-icon.svelte | 19 | name: "Acme Inc", | CODE |
| LOW | …xamples/create/dialog/dialog-with-sticky-footer.svelte | 24 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …xamples/create/dialog/dialog-with-sticky-footer.svelte | 24 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …xamples/create/dialog/dialog-scrollable-content.svelte | 24 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …xamples/create/dialog/dialog-scrollable-content.svelte | 24 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …/examples/create/preview/cards/shipping-address.svelte | 35 | <Input id="shipping-street" placeholder="123 Main Street" /> | CODE |
| LOW | …registry/examples/create/sheet/sheet-with-sides.svelte | 30 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …registry/examples/create/sheet/sheet-with-sides.svelte | 30 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor | CODE |
| LOW | …ives/src/lib/message-scroller/message-scroller.test.ts | 837 | { id: "placeholder", height: 80, scrollAnchor: false }, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/static/registry/sidebar-09.json | 24 | "content": "<script lang=\"ts\" module>\n\timport ArchiveXIcon from \"@lucide/svelte/icons/archive-x\";\n\timport Fil | CODE |
| MEDIUM | docs/static/registry/styles/luma/sidebar-09.json | 24 | "content": "<script lang=\"ts\" module>\n\timport ArchiveXIcon from \"@lucide/svelte/icons/archive-x\";\n\timport Fil | CODE |
| MEDIUM | docs/static/registry/styles/sera/sidebar-09.json | 24 | "content": "<script lang=\"ts\" module>\n\timport ArchiveXIcon from \"@lucide/svelte/icons/archive-x\";\n\timport Fil | CODE |
| MEDIUM | docs/static/registry/styles/vega/sidebar-09.json | 24 | "content": "<script lang=\"ts\" module>\n\timport ArchiveXIcon from \"@lucide/svelte/icons/archive-x\";\n\timport Fil | CODE |
| MEDIUM | docs/static/registry/styles/nova/sidebar-09.json | 24 | "content": "<script lang=\"ts\" module>\n\timport ArchiveXIcon from \"@lucide/svelte/icons/archive-x\";\n\timport Fil | CODE |
| MEDIUM | docs/static/registry/styles/mira/sidebar-09.json | 24 | "content": "<script lang=\"ts\" module>\n\timport ArchiveXIcon from \"@lucide/svelte/icons/archive-x\";\n\timport Fil | CODE |
| MEDIUM | docs/static/registry/styles/maia/sidebar-09.json | 24 | "content": "<script lang=\"ts\" module>\n\timport ArchiveXIcon from \"@lucide/svelte/icons/archive-x\";\n\timport Fil | CODE |
| MEDIUM | docs/static/registry/styles/rhea/sidebar-09.json | 24 | "content": "<script lang=\"ts\" module>\n\timport ArchiveXIcon from \"@lucide/svelte/icons/archive-x\";\n\timport Fil | CODE |
| MEDIUM | docs/static/registry/styles/lyra/sidebar-09.json | 24 | "content": "<script lang=\"ts\" module>\n\timport ArchiveXIcon from \"@lucide/svelte/icons/archive-x\";\n\timport Fil | CODE |
| MEDIUM | …gistry/blocks/sidebar-09/components/app-sidebar.svelte | 118 | "I've completed the registration for the upcoming tech conference.\nLet me know if you need any additional informat | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/src/lib/registry/examples/code-block-tabs.svelte | 38 | code: "AI_GATEWAY_API_KEY=your-api-key", | CODE |
| HIGH | …/src/lib/registry/examples/code-block-streaming.svelte | 70 | code: "AI_GATEWAY_API_KEY=your-api-key", | CODE |
| HIGH | …stry/examples/create/code-block/code-block-tabs.svelte | 62 | code: "AI_GATEWAY_API_KEY=your-api-key", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/.label.yml | 164 | apply_when: The issue/pull request description is clearly generated by AI. Signs can be, usage of em-dashes, overly | CODE |
| HIGH | .github/.label.yml | 165 | remove_when: The issue/pull request description is no longer clearly generated by AI. Short no excessive use of em-d | CODE |
| HIGH | .github/workflows/anti-slop.yml | 42 | const body = `Thank you for your contribution, the description of your ${kind} has been flagged as being gen | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/content/changelog/2026-10-ai-elements.md | 54 | ## Building agentic interfaces | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/src/lib/registry/examples/create/index.ts | 361 | // type: "registry:block", | COMMENT |
| LOW | packages/cli/src/preset/preset.ts | 1 | // !! BROWSER SAFE !! | COMMENT |