{
  "id": "3bdel3ziz-T_dangerous-newt-76",
  "name": "dangerous-newt-76",
  "category": "buttons",
  "author": "3bdel3ziz-T",
  "description": "dangerous-newt-76 组件 (icon, animation, notification, button, rotate, light&dark, hover effect, hover button, interactive)",
  "tags": [
    "icon",
    "animation",
    "notification",
    "button",
    "rotate",
    "light&dark",
    "hover effect",
    "hover button",
    "interactive"
  ],
  "original": {
    "html": "<div class=\"notification\">\n  <div class=\"bell-container\">\n    <div class=\"bell\"></div>\n  </div>\n</div>",
    "css": "/* From Uiverse.io by 3bdel3ziz-T  - Tags: icon, animation, notification, button, rotate, light&dark, hover effect, hover button */\n/*making bell shape with one div */\n.bell {\n  border: 2.17px solid white;\n  border-radius: 10px 10px 0 0;\n  width: 15px;\n  height: 17px;\n  background: transparent;\n  display: block;\n  position: relative;\n  top: -3px;\n}\n.bell::before,\n.bell::after {\n  content: \"\";\n  background: white;\n  display: block;\n  position: absolute;\n  left: 50%;\n  transform: translateX(-50%);\n  height: 2.17px;\n}\n.bell::before {\n  top: 100%;\n  width: 20px;\n}\n.bell::after {\n  top: calc(100% + 4px);\n  width: 7px;\n}\n/*container main styling*/\n.notification {\n  background: transparent;\n  border: none;\n  padding: 15px 15px;\n  border-radius: 50px;\n  cursor: pointer;\n  transition: 300ms;\n  position: relative;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n/*notifications number with before*/\n.notification::before {\n  content: \"1\";\n  color: white;\n  font-size: 10px;\n  width: 12px;\n  height: 12px;\n  border-radius: 50%;\n  background-color: red;\n  position: absolute;\n  right: 8px;\n  top: 8px;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  z-index: 1000;\n}\n/*container background hover effect*/\n.notification:hover {\n  background: rgba(170, 170, 170, 0.062);\n}\n/*container animations*/\n.notification:hover > .bell-container {\n  animation: bell-animation 650ms ease-out 0s 1 normal both;\n}\n/*bell ring and scale animation*/\n@keyframes bell-animation {\n  20% {\n    transform: rotate(15deg);\n  }\n\n  40% {\n    transform: rotate(-15deg);\n    scale: 1.1;\n  }\n  60% {\n    transform: rotate(10deg);\n    scale: 1.1;\n  }\n  80% {\n    transform: rotate(-10deg);\n  }\n  0%,\n  100% {\n    transform: rotate(0deg);\n  }\n}",
    "file_path": "/mnt/persist/workspace/Buttons/3bdel3ziz-T_dangerous-newt-76.html"
  },
  "uniapp": {
    "template": "<view class=\"notification\"></view>\n  <view class=\"bell-container\"></view>\n    <view class=\"bell\"></view>\n  </div>\n</div>",
    "script": "export default {\n  name: 'GalaxyDangerousNewt76',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by 3bdel3ziz-T  - Tags: icon, animation, notification, button, rotate, light&dark, hover effect, hover button */\n/*making bell shape with one div */\n.bell {\n  border: 4.34rpx solid white;\n  border-radius: 20rpx 20rpx 0 0;\n  width: 30rpx;\n  height: 34rpx;\n  background: transparent;\n  display: block;\n  position: relative;\n  top: -6rpx;\n}\n.bell::before,\n.bell::after {\n  content: \"\";\n  background: white;\n  display: block;\n  position: absolute;\n  left: 50%;\n  transform: translateX(-50%);\n  height: 4.34rpx;\n}\n.bell::before {\n  top: 100%;\n  width: 40rpx;\n}\n.bell::after {\n  top: calc(100% + 8rpx);\n  width: 14rpx;\n}\n/*container main styling*/\n.notification {\n  background: transparent;\n  border: none;\n  padding: 30rpx 30rpx;\n  border-radius: 100rpx;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  transition: 300ms;\n  position: relative;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n/*notifications number with before*/\n.notification::before {\n  content: \"1\";\n  color: white;\n  font-size: 20rpx;\n  width: 24rpx;\n  height: 24rpx;\n  border-radius: 50%;\n  background-color: red;\n  position: absolute;\n  right: 16rpx;\n  top: 16rpx;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  z-index: 1000;\n}\n/*container background hover effect*/\n.notification:hover {\n  background: rgba(170, 170, 170, 0.062);\n}\n/*container animations*/\n.notification:hover > .bell-container {\n  animation: bell-animation 650ms ease-out 0s 1 normal both;\n}\n/*bell ring and scale animation*/\n@keyframes bell-animation {\n  20% {\n    transform: rotate(15deg);\n  }\n\n  40% {\n    transform: rotate(-15deg);\n    scale: 1.1;\n  }\n  60% {\n    transform: rotate(10deg);\n    scale: 1.1;\n  }\n  80% {\n    transform: rotate(-10deg);\n  }\n  0%,\n  100% {\n    transform: rotate(0deg);\n  }\n}\n\n",
    "component_name": "GalaxyDangerousNewt76"
  },
  "platforms": {
    "h5": true,
    "mp-weixin": true,
    "mp-alipay": true,
    "mp-baidu": true,
    "mp-toutiao": true,
    "app-plus": true
  },
  "props": [
    {
      "name": "disabled",
      "type": "Boolean",
      "default": false,
      "required": false,
      "description": "是否禁用"
    },
    {
      "name": "text",
      "type": "String",
      "default": "按钮",
      "required": false,
      "description": "按钮文字"
    },
    {
      "name": "type",
      "type": "String",
      "default": "primary",
      "required": false,
      "description": "按钮类型"
    }
  ],
  "events": [
    {
      "name": "click",
      "description": "点击事件",
      "parameters": [
        "event"
      ]
    }
  ],
  "slots": [
    {
      "name": "",
      "description": "",
      "props": []
    }
  ],
  "compatibility": {
    "h5": {
      "supported": true,
      "issues": [],
      "alternatives": []
    },
    "mp-weixin": {
      "supported": true,
      "issues": [
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "medium",
    "bundle_size": 1867,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:32.453Z",
  "updated_at": "2025-07-31T07:55:32.453Z"
}