Code Monkey home page Code Monkey logo

stdf's Introduction

logo

S T D F

npm (tag) npm GitHub GitHub

介绍

基于 SvelteTailwind 的移动 web 组件库。

Simple • Thin • Design • Fast

简 单 • 轻 量 • 设 计 • 快 速

特性

  • 🚀 无运行时,无虚拟 DOM,线上运行更快;
  • 🧰 API 丰富,轻松配置出符合需求的组件样式;
  • ✍ 基于 Svelte 和 Tailwind,编码迅速轻松;
  • 🍭 支持暗色模式;
  • 📖 提供丰富的中英文文档和组件示例;
  • 🌍 支持国际化,已内置 60+ 种语言包;
  • 🫰 交互友好,动画参数可配,可自定义主题;
  • 🤝 支持 Tailwind 类库,如 Windi CSS、UnoCSS 等;
  • 🫡 无三方依赖,无需担心三方库版本与安全问题。

快速上手

安装

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

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

使用

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

<Button>默认</Button>

😓 无工程?用 Vite 示例创建工程,参考 Vite 文档。并配置 Tailwind CSS,参考 Tailwind CSS 文档

手机预览

可以手机扫描以下二维码访问手机端 Demo:

开源协议

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

stdf's People

Contributors

dufu1991 avatar 893358308 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.