← Home

ðŸ”ĨSvelte

⌘K
ðŸĪ–
Claude Code AI Tools
ðŸĪ—
Hugging Face AI Tools
ðŸĶœ
LangChain AI Tools
🧠
Keras AI Tools
ðŸĶ™
Ollama AI Tools
🐍
Python Programming Languages
ðŸŸĻ
JavaScript Programming Languages
🔷
TypeScript Programming Languages
⚛ïļ
React Programming Languages
ðŸđ
Go Programming Languages
ðŸĶ€
Rust Programming Languages
📊
MATLAB Programming Languages
🗄ïļ
SQL Programming Languages
⚙ïļ
C/C++ Programming Languages
☕
Java Programming Languages
ðŸŸĢ
C# Programming Languages
🍎
Swift Programming Languages
🟠
Kotlin Programming Languages
â–ē
Next.js Programming Languages
💚
Vue.js Programming Languages
ðŸ”Ĩ
Svelte Programming Languages
ðŸŽĻ
Tailwind CSS Programming Languages
💚
Node.js Programming Languages
🌐
HTML Programming Languages
ðŸŽĻ
CSS/SCSS Programming Languages
🐘
PHP Programming Languages
💎
Ruby Programming Languages
ðŸ”ī
Scala Programming Languages
📊
R Programming Languages
ðŸŽŊ
Dart Programming Languages
💧
Elixir Programming Languages
🌙
Lua Programming Languages
🐊
Perl Programming Languages
🅰ïļ
Angular Programming Languages
🚂
Express.js Programming Languages
ðŸą
NestJS Programming Languages
ðŸ›Īïļ
Ruby on Rails Programming Languages
◾ïļ
GraphQL Programming Languages
🟊
Haskell Programming Languages
💚
Nuxt.js Programming Languages
🔷
SolidJS Programming Languages
⚡
htmx Programming Languages
ðŸ’ŧ
VS Code Development Tools
🧠
PyCharm Development Tools
📓
Jupyter Development Tools
🧠
IntelliJ IDEA Development Tools
💚
Neovim Development Tools
ðŸ”Ū
Emacs Development Tools
🔀
Git DevOps & CLI
ðŸģ
Docker DevOps & CLI
â˜ļïļ
Kubernetes DevOps & CLI
☁ïļ
AWS CLI DevOps & CLI
🔄
GitHub Actions DevOps & CLI
🐧
Linux Commands DevOps & CLI
ðŸ’ŧ
Bash Scripting DevOps & CLI
🌐
Nginx DevOps & CLI
📝
Vim DevOps & CLI
ðŸ”Ļ
Makefile DevOps & CLI
🧊
Pytest DevOps & CLI
🊟
Windows DevOps & CLI
ðŸ“Ķ
Package Managers DevOps & CLI
🍎
macOS DevOps & CLI
🏗ïļ
Terraform DevOps & CLI
🔧
Ansible DevOps & CLI
⎈
Helm DevOps & CLI
ðŸ”Ļ
Jenkins DevOps & CLI
ðŸ”Ĩ
Prometheus DevOps & CLI
📊
Grafana DevOps & CLI
ðŸ’ŧ
Zsh DevOps & CLI
🐟
Fish Shell DevOps & CLI
💙
PowerShell DevOps & CLI
🔄
Argo CD DevOps & CLI
🔀
Traefik DevOps & CLI
☁ïļ
Azure CLI DevOps & CLI
☁ïļ
Google Cloud CLI DevOps & CLI
📟
tmux DevOps & CLI
🔧
jq DevOps & CLI
✂ïļ
sed DevOps & CLI
📊
awk DevOps & CLI
🌊
Apache Airflow DevOps & CLI
ðŸ”Ē
NumPy Databases & Data
🐞
Pandas Databases & Data
ðŸ”Ĩ
PyTorch Databases & Data
🧠
TensorFlow Databases & Data
📈
Matplotlib Databases & Data
🐘
PostgreSQL Databases & Data
🐎
MySQL Databases & Data
🍃
MongoDB Databases & Data
ðŸ”ī
Redis Databases & Data
🔍
Elasticsearch Databases & Data
ðŸĪ–
Scikit-learn Databases & Data
👁ïļ
OpenCV Databases & Data
⚡
Apache Spark Databases & Data
ðŸŠķ
SQLite Databases & Data
⚡
Supabase Databases & Data
ðŸ”ĩ
Neo4j Databases & Data
ðŸ“Ļ
Apache Kafka Databases & Data
🐰
RabbitMQ Databases & Data
ðŸ”Ī
Regex Utilities
📝
Markdown Utilities
📄
LaTeX Utilities
🔐
SSH & GPG Utilities
🌐
curl & HTTP Utilities
📜
reStructuredText Utilities
🚀
Postman Utilities
🎎
FFmpeg Utilities
🖞ïļ
ImageMagick Utilities
🔍
ripgrep Utilities
🔍
fzf Utilities
📗
Microsoft Excel Office Applications
📘
Microsoft Word Office Applications
📙
Microsoft PowerPoint Office Applications
📝
Hancom Hangul Hancom Office
ðŸ“―ïļ
Hancom Hanshow Hancom Office
📊
Hancom Hancell Hancom Office
📄
Google Docs Google Workspace
📊
Google Sheets Google Workspace
ðŸ“―ïļ
Google Slides Google Workspace
🔌
Cadence Virtuoso EDA & Hardware
⚙ïļ
Synopsys EDA EDA & Hardware
💎
Verilog & VHDL EDA & Hardware
⚡
LTSpice EDA & Hardware
🔧
KiCad EDA & Hardware
📝
Notion Productivity
💎
Obsidian Productivity
💎
Slack Productivity
ðŸŽŪ
Discord Productivity
ðŸŽĻ
Figma Design Tools
📘
Confluence Atlassian
📋
Jira Atlassian
🃏
Jest Testing
⚡
Vitest Testing
🎭
Playwright Testing
ðŸŒē
Cypress Testing
🌐
Selenium Testing
💙
Flutter Mobile Development
ðŸ“ą
React Native Mobile Development
🍎
SwiftUI Mobile Development
ðŸ“ą
Expo Mobile Development
🐍
Django Web Frameworks
⚡
FastAPI Web Frameworks
ðŸŒķïļ
Flask Web Frameworks
🍃
Spring Boot Web Frameworks
ðŸļ
Gin Web Frameworks
⚡
Vite Build Tools
ðŸ“Ķ
Webpack Build Tools
⚡
esbuild Build Tools
🐘
Gradle Build Tools
ðŸŠķ
Maven Build Tools
🔧
CMake Build Tools
ðŸŽŪ
Unity Game Development
ðŸĪ–
Godot Game Development
🔌
Arduino Embedded & IoT
🔍
Nmap Security
🐕
Datadog Monitoring
📖
Swagger/OpenAPI Documentation
No results found
EN KO

📝 Svelte Basics

ðŸ“Ķ Component Structure

<script>...</script> JavaScript logic
<script lang="ts">...</script> TypeScript support
<style>...</style> Scoped CSS
<style global>...</style> Global CSS
{expression} Text interpolation
{@html rawHtml} Raw HTML
{@debug variable} Debug output

⚡ Reactivity

let count = 0; Reactive variable
$: doubled = count * 2; Reactive declaration
$: { console.log(count); } Reactive statement
$: if (count > 10) { ... } Reactive conditional
count = count + 1; Trigger update
arr = [...arr, item]; Array update
obj = { ...obj, key: value }; Object update

📄 Template Syntax

🔀 Conditionals & Loops

{#if condition}...{/if} If block
{:else if condition} Else if
{:else} Else
{#each items as item}...{/each} Each loop
{#each items as item, i} With index
{#each items as item (item.id)} Keyed each
{:else} Empty list fallback

âģ Await Blocks

{#await promise}...{/await} Await block
{#await promise}Loading...{:then data} With loading
{:catch error} Error handling
{#await promise then data} Short syntax

🔗 Bindings

bind:value={variable} Input binding
bind:checked={bool} Checkbox binding
bind:group={selected} Radio/checkbox group
bind:this={element} Element reference
bind:clientWidth={w} Dimension binding
bind:innerHTML={html} Inner HTML binding

ðŸŽŊ Events & Actions

👆 Event Handling

on:click={handler} Click event
on:click={() => count++} Inline handler
on:click|preventDefault Prevent default
on:click|stopPropagation Stop propagation
on:click|once Run once
on:click|capture Capture phase
on:keydown|self Only on element

⚙ïļ Actions

use:action Use action
use:action={params} With parameters
export function action(node) { } Define action
return { destroy() {} } Cleanup function
return { update(params) {} } Update function

ðŸ§Đ Components

ðŸ“Ī Props

export let prop; Declare prop
export let prop = defaultValue; With default
<Child {prop} /> Pass prop (shorthand)
<Child prop={value} /> Pass prop
<Child {...obj} /> Spread props
$$props All props
$$restProps Rest props

ðŸ“Ĩ Events & Slots

import { createEventDispatcher } from "svelte" Event dispatcher
const dispatch = createEventDispatcher(); Create dispatcher
dispatch("eventName", data); Dispatch event
<slot /> Default slot
<slot name="header" /> Named slot
<slot {data} /> Slot props
<div slot="header"> Use named slot
let:data Receive slot props

💉 Context

import { setContext, getContext } from "svelte" Context API
setContext("key", value); Set context
const value = getContext("key"); Get context

🗄ïļ Stores

ðŸ“Ķ Store Types

import { writable } from "svelte/store" Writable store
const store = writable(initialValue); Create writable
import { readable } from "svelte/store" Readable store
const store = readable(initial, start); Create readable
import { derived } from "svelte/store" Derived store
const derived = derived(store, $s => ...) Create derived

🔧 Store Usage

$store Auto-subscribe (in component)
store.subscribe(value => ...) Manual subscribe
store.set(value) Set value
store.update(n => n + 1) Update value
$store = value Set with $

🔄 Lifecycle & Transitions

⏰ Lifecycle

import { onMount } from "svelte" Mount hook
onMount(() => { return cleanup; }) With cleanup
import { onDestroy } from "svelte" Destroy hook
import { beforeUpdate, afterUpdate } from "svelte" Update hooks
import { tick } from "svelte" Await DOM update

âœĻ Transitions

import { fade, fly, slide } from "svelte/transition" Built-in transitions
transition:fade Fade transition
transition:fly={{ y: 200 }} Fly with params
in:fade out:fly Different in/out
transition:fade|local Local transition
import { tweened, spring } from "svelte/motion" Motion stores

🚀 SvelteKit

📂 Routing

src/routes/+page.svelte Page component
src/routes/+layout.svelte Layout component
src/routes/+page.ts Page load function
src/routes/+page.server.ts Server load
src/routes/[slug]/+page.svelte Dynamic route
src/routes/api/+server.ts API endpoint

ðŸ“Ą Data Loading

export const load = async () => {} Load function
export let data; Receive load data
({ params, fetch }) => Load params
export const actions = { default: async () => {} } Form actions
import { error, redirect } from "@sveltejs/kit" Error/redirect

ðŸ’Ą Tips & Best Practices

âœĻ Useful Tips

  • Use $: for derived state instead of computed
  • Remember to reassign arrays/objects for reactivity
  • Use keyed each blocks for lists with dynamic items
  • Prefer stores for shared state across components
  • Use actions for reusable DOM behavior
  • Use SvelteKit for full-stack applications