npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

malachi-ui-svelte-framework

v1.0.18

Published

Svelte component library for web console

Readme

Svelte Web Console Components

一套基于 Svelte 5+ 的 Web 控制台组件库,提供常用的页面模板、布局组件和业务组件。

安装

npm install @malachi/svelte-components

依赖要求

  • Svelte ^5.43.5
  • 需要配置相应的 @ticatec 系列依赖

使用示例

import { CommonPage1, DashboardPage, FramePage } from '@your-scope/svelte-components';

基础使用

按需导入

// 导入页面组件 import { CommonPage1 } from '@your-scope/svelte-components/commonPage/CommonPage1.svelte';
// 导入布局组件 import { SidebarPanel } from '@your-scope/svelte-components/sidebar/SidebarPanel.svelte'; import { TabContainer } from '@your-scope/svelte-components/tab/TabContainer.svelte';
// 导入业务组件 import { TenantSelector } from '@your-scope/svelte-components/userAction/TenantSelector.svelte';

组件分类

📄 页面组件 (commonPage)

  • CommonPage1 - 通用页面布局,支持左右侧边栏

💬 对话框 (dialog)

  • Common2Dialog - 通用对话框组件

🏗️ 框架组件 (framework)

  • DashboardPage - 仪表盘页面
  • FramePage - 框架页面
  • NotFoundPage - 404 页面

📋 列表模板 (listTemplate)

  • ListTemplate1 - 基础列表模板

📑 分页列表 (paginationListTemplate)

  • PaginationListTemplate1 - 分页列表模板 1
  • PaginationListTemplate2 - 分页列表模板 2

🎛️ 表单组件

  • RadioGroup - 单选框组

🧭 导航组件 (sidebar)

  • SidebarPanel - 侧边栏面板
  • MenuPanel - 菜单面板

📌 标签页 (tab)

  • TabContainer - 标签容器

👤 用户操作 (userAction)

  • UserActionPanel - 用户操作面板
  • TenantSelector - 租户选择器
  • UserCenterSelector - 用户中心选择器

⏳ 加载组件

  • LoadingMask - 加载遮罩
  • LoadingPage - 加载页面

❌ 错误页面

  • ModuleErrorPage - 模块错误页面

开发

构建组件库 npm run build:lib

本地预览 npm run preview