A flame icon that draws itself on hover and flickers taller as a colored core lights inside it when it is lit, and dies down when it goes out.
React + HTML
無料
状態
下にさらに表示 ↓
組み込み済み
付属するもの
ライトとダークテーマのカラーを使用
パッケージ…
コードサイズ…
変更のたびに検証
型チェックTypeScript の strict モード
Lint とフォーマットESLint · Prettier
テストとビルドライトとダークのスクリーンショット
セキュリティ監査重大・高リスクの脆弱性なし
パッケージの公開期間すべてのバージョンが7日以上前に公開
アイドル時の CPU静止時は半コア未満、30 fps 以下
コード
このコンポーネントに気になる点がありますか? フィードバックを送る ›
flame-iconHTML
index.htmlpageThe markup to copy, between the copy-from-here comments, on a demo page.
style.cssstyleThe styles: copy them into your CSS.
script.jsscriptThe behavior: load it after the markup.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
読み込み中…
こんな用途に
Daily streaks, hot or trending tags, and burn or boost toggles.
仕組み
Hover it and the flame draws in. Light it and it flickers and stretches taller as a core draws in inside it and fills with color; put it out and the core fades away.