Skip to content
项目

关于

SVAR Core 是一套使用 Svelte 构建的基础 UI 组件库。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

SVAR Svelte Core | UI Library

:globe_with_meridians: Website • :bulb: Getting Started • :eyes: Demos

npm License npm downloads

SVAR Svelte Core library offers 30+ lightweight, fast-performing Svelte UI components with TypeScript support. Beautifully designed light and dark themes are included and fully customizable via CSS variables. A straightforward API and comprehensive documentation make it easy to start building feature-rich Svelte interfaces quickly.

SVAR Core - Svelte UI Library

SVAR Svelte Core library includes the following components:
  • buttons & form controls,
  • calendar (datepicker),
  • popups, tooltips,
  • notifications,
  • sliding sidebar,
  • tabs, and more.

Additionally, you can use these SVAR Svelte components to build unified app interfaces:

  • Menu - helps you create basic menu bar, actions or context menu;
  • Toolbar - allows you to create button and icon panels with configurable layouts;
  • Tasklist - task list component to add, edit, check or delete tasks;
  • Comments - nice-looking comments section;
  • File uploader - simple file uploader component.

:hammer_and_wrench: How to Use

To start using components from the Core package, simply import the package and include the desired component in your Svelte file:

<script>
	import { Button } from "@svar-ui/svelte-core";
</script>

<Button>Click me</Button>

See the getting started guide to quickly set up and begin using SVAR Core components in your Svelte projects.

:computer: How to Modify

Typically, you don't need to modify the code. However, if you wish to do so, follow these steps:

  1. Install vite-plus (curl -fsSL https://vite.plus | bash on Mac/Linux, irm https://vite.plus/ps1 | iex on Windows). The project uses pnpm workspaces under the hood, so plain npm will not work.
  2. Run vp i from the project root to install dependencies.
  3. Run vp run build to build all packages.
  4. Start the demo app in development mode with vp run start.

:speech_balloon: Need Help?

Post an Issue or use our community forum.

探索相关项目

加载中…