A wine glass icon that draws itself on hover and fills with wine, then tips into a cheers when it is poured, and goes back on its own.
React + HTML
無料
状態
下にさらに表示 ↓
組み込み済み
付属するもの
ライトとダークテーマのカラーを使用
パッケージ…
コードサイズ…
変更のたびに検証
型チェックTypeScript の strict モード
Lint とフォーマットESLint · Prettier
テストとビルドライトとダークのスクリーンショット
セキュリティ監査重大・高リスクの脆弱性なし
パッケージの公開期間すべてのバージョンが7日以上前に公開
アイドル時の CPU静止時は半コア未満、30 fps 以下
コード
このコンポーネントに気になる点がありますか? フィードバックを送る ›
wine-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.
読み込み中…
こんな用途に
Wine lists, bar and restaurant menus, drink orders and celebration buttons.
仕組み
Hover it and the bowl draws in, then the stem and foot. Once poured, wine fills the bowl from the bottom, the glass tips into a cheers and three clink lines pop out by its rim, then it goes back.