<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
    <anon>TypeScript</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>TypeScriptで通知バッジを実装する：ベルアイコンに数字を表示する SNSやチャットアプリでよく見る、ベルアイコン右上に数字を表示する通知バッジの実装です。ライブラリなしの HTML + CSS + TypeScript で作れます。 HTML構造 position: relative の親要素に対して、バッジを position: absolute で重ねます。 &lt;div class=&quot;bell-wrapper&quot;&gt; &lt;svg class=&quot;bell-icon&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;cu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2026%2F07%2F11%2F153423&quot; title=&quot;TypeScriptで通知バッジを実装する：ベルアイコンに数字を表示する - Engineering Tech Dojo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/p/plarail_hangout/20260711/20260711153024.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-07-11 15:34:23</published>
  <title>TypeScriptで通知バッジを実装する：ベルアイコンに数字を表示する</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2026/07/11/153423</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
