Skip to content
/ stdf Public
forked from any-tdf/stdf

Mobile web component library based on Svelte and Tailwind

License

Notifications You must be signed in to change notification settings

ddztomcat/stdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Public STDF Status Releases Status Sync Status Build Status Public Create Status Public Icon Status

logo

S T D F

NPM Version Github Stars License NPM Installs NPM Minzip NPM Dependency

Introduction

Mobile web component library based on Svelte and Tailwind .

Simple • Thin • Design • Fast

Features

  • 🚀 No runtime, no virtual DOM, runs faster online;
  • 🧰 Rich API, easily configure component styles that meet your needs;
  • ✍ Based on Svelte and Tailwind, coding is quick and easy;
  • 🍭 Supports dark mode;
  • 📖 Provides extensive Chinese and English documentation and component examples;
  • 🌍 Supports internationalization, with 60 built-in language packages;
  • 🫰 User-friendly interaction, animation parameters can be configured, and custom themes are supported;
  • 🤝 Supports Tailwind libraries such as Windi CSS and UnoCSS;
  • 🫡 No three -party dependence, no need to worry about the three -party library version and security issues.
  • 📦 Supports on-demand import to reduce bundle size.
  • 🪜 Comes with a scaffolding tool for quick project creation.
  • 🔗 Comes with an SVG merging plugin for quickly merging SVG files.

Getting Started

Installation

If you have a project configured with Svelte and Tailwind, install directly.

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

Usage

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

<Button>Default</Button>

😓 No project? Create one

You can try using create-stdf to quickly create a project. (beta version)

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

Alternatively, you can create a Vite project and configure it to use Tailwind CSS and the configurations used by STDF. Refer to Vite & Tailwind CSS & STDF for more information.

Preview

Please scan the QR code to access the mobile demo:

License

This project is licensed under the MIT License. Feel free to enjoy and contribute to this open-source project.

Contributors

Star History

Star History Chart

About

Mobile web component library based on Svelte and Tailwind

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 60.7%
  • JavaScript 39.1%
  • Other 0.2%