A smile icon that draws itself on hover and breaks into a smile with happy eyes when it is on, and goes back to a neutral face when it is off.
React + HTML
무료
상태
아래에 더 있어요 ↓
기본 제공
제공 내용
라이트 및 다크사용 중인 테마 색상 적용
패키지…
코드 크기…
변경할 때마다 검사
타입 검사TypeScript strict 모드
린트 및 포맷ESLint · Prettier
테스트 및 빌드라이트/다크 스크린샷
보안 감사높음 또는 심각 등급 권고 없음
패키지 공개 기간모든 버전 공개 후 7일 이상
대기 시 CPU대기 시 코어 절반 미만, 30 fps 이하
코드
이 컴포넌트에 이상한 점이 있나요? 피드백 보내기 ›
smile-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.
불러오는 중…
이럴 때 좋아요
Emoji reaction buttons, feedback and mood pickers, satisfaction surveys and chat reactions.
작동 방식
Hover it and the face draws in, the eyes pop and the mouth draws. Turn it on and the face bounces a little, the flat mouth turns into a smile and the eyes squash into happy arcs; turn it off and it goes back to neutral.
사용 방법
페이지에서 style.css 및 script.js 파일을 연결한 다음, index.html의 마크업을 원하는 위치에 붙여 넣으세요.