Skip to content

Commit 578df6c

Browse files
docs: add more links to documentation in packages page (#1572)
* docs: add more links to documentation in packages page * Update apps/svelte.dev/src/lib/packages-meta.ts Co-authored-by: Rich Harris <[email protected]> * Update apps/svelte.dev/src/lib/packages-meta.ts Co-authored-by: Rich Harris <[email protected]> * Update apps/svelte.dev/src/lib/packages-meta.ts * add missing end quote * add unplugin-icons --------- Co-authored-by: Rich Harris <[email protected]>
1 parent 9c49289 commit 578df6c

File tree

2 files changed

+56
-29
lines changed

2 files changed

+56
-29
lines changed

apps/svelte.dev/src/lib/packages-meta.ts

Lines changed: 41 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,6 @@ const FEATURED: {
139139
{ name: 'typewriter-editor' }
140140
]
141141
},
142-
{
143-
title: 'Icons',
144-
packages: [
145-
{ name: '@iconify/tailwind4' },
146-
{ name: '@unocss/preset-icons' },
147-
{ name: '@lucide/svelte', description: 'Beautiful and consistent icons' },
148-
{ name: 'svelte-awesome', description: 'Font Awesome icons for Svelte' },
149-
{ name: 'phosphor-svelte', description: 'A clean and friendly icon family' }
150-
]
151-
},
152142
{
153143
title: 'Data visualization',
154144
packages: [
@@ -219,16 +209,6 @@ const FEATURED: {
219209
}
220210
]
221211
},
222-
{
223-
title: 'Testing and devtools',
224-
packages: [
225-
{ name: '@testing-library/svelte', description: 'Testing utilities for DOM interaction' },
226-
{ name: 'playwright', description: 'Browser automation for end-to-end testing' },
227-
{ name: 'vitest' },
228-
{ name: 'svelte-render-scan', description: 'Visual debugging tool' },
229-
{ name: 'svelte-inspect-value', description: 'Value inspector component' }
230-
]
231-
},
232212
{
233213
title: 'Internationalization (i18n)',
234214
packages: [
@@ -240,15 +220,6 @@ const FEATURED: {
240220
{ name: 'i18n-js' }
241221
]
242222
},
243-
{
244-
title: 'Bundler plugins',
245-
packages: [
246-
{ name: '@sveltejs/vite-plugin-svelte' },
247-
{ name: 'rollup-plugin-svelte' },
248-
{ name: 'svelte-loader', description: 'Compile Svelte components with webpack' },
249-
{ name: 'esbuild-svelte', description: 'Compile Svelte components with esbuild' }
250-
]
251-
},
252223
{
253224
title: 'Media',
254225
packages: [
@@ -321,6 +292,47 @@ const FEATURED: {
321292
}
322293
]
323294
},
295+
{
296+
title: 'Devtools',
297+
packages: [
298+
{ name: 'svelte-render-scan', description: 'Visual debugging tool' },
299+
{ name: 'svelte-inspect-value', description: 'Value inspector component' }
300+
]
301+
},
302+
{
303+
title: 'Icons',
304+
description:
305+
'See the <a href="/docs/kit/icons">icons documentation</a> for best practices when using an icon library',
306+
packages: [
307+
{ name: '@iconify/tailwind4' },
308+
{ name: '@unocss/preset-icons' },
309+
{ name: '@lucide/svelte', description: 'Beautiful and consistent icons' },
310+
{ name: 'svelte-awesome', description: 'Font Awesome icons for Svelte' },
311+
{ name: 'phosphor-svelte', description: 'A clean and friendly icon family' },
312+
{ name: 'unplugin-icons', description: 'A Vite plugin that provides icons on demand' }
313+
]
314+
},
315+
{
316+
title: 'Testing',
317+
description:
318+
'You might find the <a href="/docs/svelte/testing">documentation about testing</a> to be helpful during setup',
319+
packages: [
320+
{ name: '@testing-library/svelte', description: 'Testing utilities for DOM interaction' },
321+
{ name: 'playwright', description: 'Browser automation for end-to-end testing' },
322+
{ name: 'vitest' }
323+
]
324+
},
325+
{
326+
title: 'Bundler plugins',
327+
description:
328+
'If you’re using SvelteKit or a similar framework, this part is taken care of. If you’re <a href="/docs/svelte/getting-started#Alternatives-to-SvelteKit">setting things up on your own</a>, you will need a plugin to tell your bundler how to compile Svelte files',
329+
packages: [
330+
{ name: '@sveltejs/vite-plugin-svelte' },
331+
{ name: 'rollup-plugin-svelte' },
332+
{ name: 'svelte-loader', description: 'Compile Svelte components with webpack' },
333+
{ name: 'esbuild-svelte', description: 'Compile Svelte components with esbuild' }
334+
]
335+
},
324336
{
325337
title: 'Routing',
326338
description:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "unplugin-icons",
3+
"npm_description": "Access thousands of icons as components on-demand universally",
4+
"repo_url": "https://github.com/unplugin/unplugin-icons",
5+
"authors": ["userquin", "antfu", "sxzz", "hannoeru"],
6+
"homepage": "https://github.com/unplugin/unplugin-icons#readme",
7+
"version": "22.4.2",
8+
"downloads": 337109,
9+
"github_stars": 38856,
10+
"updated": "2025-10-02T02:34:15.560Z",
11+
"svelte_range": "^3.0.0 || ^4.0.0 || ^5.0.0",
12+
"typescript": true,
13+
"runes": true,
14+
"last_rune_check_version": "0.0.1"
15+
}

0 commit comments

Comments
 (0)