易于使用、可访问且高度可定制的多选组件
Svelte Widgets Keyboard-friendly, accessible and highly customizable Svelte components. View the docs
Every component is a named export from the package root and has a direct subpath import (svelte-widgets/Toc.svelte) so bundlers can skip the rest.
| Component | What it does | Docs |
|---|---|---|
MultiSelect |
Keyboard-friendly multi/single select with grouping, async loading and deep style hooks | docs |
CommandMenu |
Command palette with fuzzy search, hotkeys, recents and async actions | docs |
PageSearch |
Pagefind-backed site search built on CommandMenu |
docs |
Popover |
Floating surface that positions, dismisses and traps focus for you | docs |
ActionMenu |
Action list opened from a trigger or right-click, with complete menu keyboard semantics | docs |
ConfirmDialog |
Promise-based dialog queue, so two racing prompts can't share one answer | docs |
Dialog |
Native modal with composable sections, close reasons and nested-dialog handling | docs |
DraggablePane |
Floating panel you can drag by its header, resize and reset to its anchor | docs |
ColorInput |
Color picker with editable hex, optional opacity, presets, validation, and commit events | docs |
NumberRangeInput |
Paired number and range inputs with linear or logarithmic scales and explicit commits | docs |
RangeSlider |
Two-handle linear or logarithmic interval slider with numeric fields, RTL, and keyboard controls | docs |
SplitPane |
Resizable panes with ratio or pixel bounds and collapse support | docs |
VirtualList |
Fixed-height row virtualization | docs |
FileInput |
File picker and drop zone with validation, cancellation and retry | docs |
TreeView |
Keyboard-navigable tree with multiple selection, visible ranges, lazy loading, and custom nodes | docs |
JsonTree |
Searchable JSON inspector with editing, copying and diffs | docs |
Progress |
Accessible determinate or indeterminate progress | docs |
TaskStatus |
Task progress and errors with caller-owned cancellation and retry | docs |
SettingsGroup |
Collapsible group for organizing related settings sections | docs |
SettingsSearch |
Settings-row filter that expands matching groups and restores their prior state | docs |
SettingsSection |
Titled settings region with explicit changed keys, resets, descriptions and grid layout | docs |
Sheet |
Dialog-based modal edge panel with side placement and shared dismissal policies | docs |
Tabs |
Controlled ARIA tabs with automatic or manual keyboard activation | docs |
Accordion |
Single or multi-open disclosure group with snippet-rendered content | docs |
FindBar |
In-DOM find-in-page bar that highlights, counts and steps through matches | docs |
CodeBlock |
Read-only code with cancellable highlighting, escaped tokens or trusted HTML | docs |
StatGrid |
Responsive statistic tiles with units, hints and accessible changes | docs |
Spinner |
Loading status with optional text | docs |
StatusMessage |
Dismissible info, success, warning or error feedback | docs |
DragOverlay |
Drop-target overlay with an optional message | docs |
ClickFeedback |
Positioned transient confirmation icon | docs |
CodeEditor |
Virtualized code editor with model-wide search, undoable replacement, and go-to-line | docs |
DiffView |
Virtualized side-by-side and unified diffs with an injectable backend | docs |
Toast |
Notification queue with priorities, dedupe and pause-on-hover | docs |
Nav |
Navigation bar with dropdowns, pinning and active-route styling | docs |
Heading |
Native Svelte heading with an explicit ID and server-rendered anchor | docs |
Toc |
Manifest-backed table of contents with optional dynamic heading tracking | docs |
Masonry |
Column-balancing masonry grid with SSR support and virtualization | docs |
Footer |
Centered row of icon links, sized and themed with --footer-* |
docs |
ActionButton |
Async action button with pending, success and error feedback |
暂无开放 Issues,或尚未同步最近议题。