杜府 bf6492aec4 Update v0.1.2 3 years ago
..
assets 64cf6ddb60 Add two icon and update doc 3 years ago
lang d6c36eab10 Add language file for Pagination component 3 years ago
src 14701e86f7 Optimize Pagination omit icon 3 years ago
README.md 37e95e4b77 Update REAMDE 3 years ago
index.js 3995411b4e Add Pagination component 3 years ago
package.json bf6492aec4 Update v0.1.2 3 years ago

README.md

logo

S T D F

[![npm (tag)](https://badgen.net/npm/v/stdf)](https://www.npmjs.com/package/stdf) [![npm](https://badgen.net/npm/dt/stdf?label=installs&icon=npm)](https://www.npmjs.com/package/stdf) GitHub GitHub

中文 Website

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.

Getting Started

Installation

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

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

Usage

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

<Button>Default</Button>

😓 No project? Create a project with Vite and reference the Vite documentation and the Tailwind CSS documentation for CSS configuration.

Mobile Preview

You can scan the QR code below on your mobile phone 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.