<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>React</anon>
    <anon>TypeScript</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>React で Modal や Drawer で作る時に state の変更で表示 / 非表示を切り替えるとパッ出たり消えたりするので UX 的に美しくないからアニメーションをさせたい。 chakra UI のような出来上がっている UI ライブラリ無しで実装してみたのでメモ (chakra UI使うと楽なのだが) Framer Motion を使う animation を時前で実装すると CSS アニメーションを待つタイマーとかいろいろと状態を作らないと大変そうだし、メンテコストも高そうだったのでライブラリを使うことにした。車輪の再発明をしてる暇はなかった。 Rect で使える animat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2024%2F06%2F10%2F080000&quot; title=&quot;React Framer Motion を使ってふわっと出てくるモーダルやメニューを作る - かもメモ&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://m.media-amazon.com/images/I/51JVnr1FAbL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-06-10 08:00:00</published>
  <title>React Framer Motion を使ってふわっと出てくるモーダルやメニューを作る</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2024/06/10/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
