1 Star 0 Fork 0

dufu1991 / stdf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Public STDF Status Releases Status Sync Status Build Status Public Create Status Public Icon Status Public VS Code Extension Status Sync Gitee Status

logo

S T D F

npm GitHub stars GitHub license npm npm bundle size npm npm Visual Studio Marketplace Version (including pre-releases)

English 网站

介绍

基于 SvelteTailwind 的移动 web 组件库。

Simple • Thin • Design • Fast

简 单 • 轻 量 • 设 计 • 快 速

特性

  • 🚀 无运行时,无虚拟 DOM,线上运行更快。
  • 🧰 API 丰富,轻松配置出符合需求的组件样式。
  • ✍ 基于 Svelte 与 Tailwind,编码迅速轻松。
  • 🍭 支持暗模式与多主题配置。
  • 📖 提供丰富的中英文文档和组件示例。
  • 🌍 支持国际化,已内置 60+ 种语言包。
  • 🫰 交互友好,动画参数可配,可自定义主题。
  • 🤝 支持 Tailwind 类库,如 UnoCSS。
  • 🫡 无三方依赖,无需担心三方库版本与安全问题。
  • 📦 支持按需引入,减少打包体积。
  • 🪜 配套脚手架,快速创建工程。
  • 🔗 配套 SVG 合并插件,快速合并 SVG。
  • 🍺 配套 IDE 插件,快速查看组件 API。
  • 🔧 Props 支持类型提示与检测。

快速上手

安装

已有配置好 Svelte 与 Tailwind 的工程,直接安装。

pnpm i stdf -D
# or
npm i stdf -D
# or
bun i stdf -D

使用

<!-- Button Demo -->
<script>
import { Button } from 'stdf';
</script>

<Button>默认</Button>

😓 无工程?创建工程

可以尝试使用 create-stdf 快速创建工程。

pnpm create stdf
# or
npm create stdf@latest
# or
npm init stdf@latest
# or
npx create-stdf@latest
# or
bun create stdf

或者自行创建 Vite 工程,并配置 Tailwind CSS 和 STDF 使用到的配置。参考 Vite & Tailwind CSS & STDF

预览

扫描二维码访问移动端 Demo:

快速尝试

可以到 StackBlitz 的 STDF Demo 快速尝试 STDF。

反馈与交流

推荐使用 GitHub Issues 进行直接有效地反馈与交流,贡献代码就更好了。也可以选择以下几种方式:

贡献者

赞助者

开源协议

本项目基于 MIT 协议,请自由地享受和参与开源。

Star 历史

Star History Chart
MIT License Copyright (c) 2023 dufu1991 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于 Svelte 与 Tailwind 的移动 web 组件库 每天自动同步源仓库 https://github.com/any-tdf/stdf 展开 收起
JavaScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/dufu1991/stdf.git
git@gitee.com:dufu1991/stdf.git
dufu1991
stdf
stdf
main

搜索帮助