Skip to content
プロジェクト

SamHerbert/SVG-Loaders has 7,028 GitHub stars and 4,686 forks. GitHot measured -1 stars in 24 hours, 0 in 7 days, and 0 in 15 days. Last checked 2026-11-24 21:41 UTC. Last push 2025-01-02.

この数値の測り方

計測したスター増加

24時間
-1
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

概要

純粋な SVG で作られたローディングアイコンと小さなアニメーション。

制作・メディア

Example

All loaders may be previewed at:

http://samherbert.net/svg-loaders

NOTE: Chrome 45 intended to deprecate SMIL icons but has since suspended that deprecation.

Usage

Download or bower install svg-loaders

<img src="svg-loaders/puff.svg" />

An icon's color can be manipulated by changing the fill attribute in the SVG file.

<svg fill="#fff" width="140" height="64" viewBox="0 0 140 64" xmlns="http://www.w3.org/2000/svg">

Note: Not all browsers support SVG, or more specifically, animated SVGs. Check (http://caniuse.com/#feat=svg-smil) to make sure you're good to go. If not, you may want to implement a fallback.

Minify

All SVG files are fairly small in size, but you can make them even smaller by minifying with something like SVGO.

Adaptations

React components by ajwann

関連プロジェクトを探す

読み込み中…