Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Skullet

Smart skeleton states for React, Vue, Svelte, and vanilla JavaScript.

Installation

pnpm i skullet

Usage

import { Skeleton } from "skullet/react";

<Skeleton data={user} sample={SAMPLE_USER}>
  {(user) => <Card user={user} />}
</Skeleton>;

While it loads, the content is measured into a skeleton that takes exactly its space, so nothing moves when it arrives.

See the package README for full API documentation.

Contributing

Install dependencies

pnpm install:all

Dev/Watch Library and Example

pnpm dev

Build Library

pnpm build

Found this useful?

Follow me on Twitter.

Other projects

You might also like:

  • torph - An opinionated text morphing library.
  • easing.dev - Explore easing curves for your projects.
  • web haptics - Haptic feedback for interactions on the web.

Acknowledgements

  • Thanks to Alex for assistance with the site design.
  • Thanks to Pugson for putting up with my bullshit.
  • All early reviewers and testers for their valuable feedback.

关于 About

Smart skeleton states

语言 Languages

TypeScript84.7%
SCSS10.1%
Svelte2.6%
JavaScript2.0%
HTML0.3%
Vue0.2%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
49
Total Commits
峰值: 45次/周
Less
More

核心贡献者 Contributors