Capsule AI
/
レストラン(テンプレートから)(複製)
6部品・0〜数百トークン
↩ 戻す
履歴
複製
💬 ことばで直す
▶ Run
🔗 共有
🚀 デプロイ
⏹
☰
▷ プレビュー
</> コード
🖥 PC
📱 スマホ
↻ 新タブ
atomic.studio/s/43597
📄 index.html
コードを直接編集して「適用」でプレビューに反映
適用 ▷
<div class="min-h-screen bg-zinc-950 text-white"><div class="w-full max-w-md mx-auto p-4 md:p-6 lg:p-8"><h2 class="sr-only">System Status Dashboard</h2><div class="bg-[#1a1a2e] rounded-2xl shadow-2xl overflow-hidden border border-[#16213e]"><div class="flex items-center justify-between px-5 py-4 bg-[#0f3460]"><div class="flex items-center gap-3"><div class="w-3 h-3 rounded-full bg-[#e94560] animate-pulse"></div><span class="text-[#eaeaea] font-semibold tracking-wide text-sm uppercase">System Status</span></div><div class="flex gap-1.5"><div class="w-2 h-2 rounded-full bg-[#e94560]"></div><div class="w-2 h-2 rounded-full bg-[#e94560]"></div><div class="w-2 h-2 rounded-full bg-[#e94560]"></div></div></div><div class="px-5 py-6 space-y-4"><div class="flex items-center justify-between"><span class="text-[#a8a8b3] text-sm">Connection</span><span class="text-[#00ff88] text-sm font-mono flex items-center gap-1.5"><span class="inline-block w-2 h-2 rounded-full bg-[#00ff88]"></span>Online</span></div><div class="flex items-center justify-between"><span class="text-[#a8a8b3] text-sm">Encryption</span><span class="text-[#eaeaea] text-sm font-mono">AES-256</span></div><div class="flex items-center justify-between"><span class="text-[#a8a8b3] text-sm">Uptime</span><span class="text-[#eaeaea] text-sm font-mono">14d 7h 32m</span></div><div class="pt-2 border-t border-[#16213e]"><div class="flex items-center justify-between"><span class="text-[#a8a8b3] text-sm">Secure Mode</span><button class="relative w-12 h-6 rounded-full transition-colors duration-300 focus:outline-none focus:ring-2 focus:ring-[#e94560] focus:ring-offset-2 focus:ring-offset-[#1a1a2e] bg-[#3a3a4e]" aria-label="Toggle secure mode"><span class="absolute top-0.5 left-0.5 w-5 h-5 bg-white rounded-full shadow-md transition-transform duration-300 translate-x-0"></span></button></div></div></div><div class="px-5 py-3 bg-[#0f3460] flex justify-between items-center"><span class="text-[#53536e] text-xs">v2.4.1</span><span class="text-[#53536e] text-xs">● 127.0.0.1</span></div></div></div><div class="min-h-screen flex items-center justify-center bg-gradient-to-br from-[#0f172a] via-[#1e293b] to-[#0f172a] p-4"><div class="w-full max-w-md bg-white/5 backdrop-blur-md rounded-3xl shadow-2xl border border-white/10 p-8 md:p-10"><div class="flex flex-col items-center space-y-6"><div class="w-16 h-16 md:w-20 md:h-20 rounded-full bg-gradient-to-br from-cyan-400 to-blue-600 flex items-center justify-center shadow-lg shadow-cyan-500/20"><svg class="w-8 h-8 md:w-10 md:h-10 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.455 2.456L21.75 6l-1.036.259a3.375 3.375 0 00-2.455 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z"></path></svg></div><h2 class="text-2xl md:text-3xl font-bold text-white text-center tracking-tight">Gen_49391</h2><p class="text-gray-300 text-center text-sm md:text-base leading-relaxed">このコンポーネントは、単一の目的を持つ<br class="hidden sm:inline"/>再利用可能なアトムです。</p><div class="flex items-center space-x-2 bg-white/5 rounded-full px-4 py-2 border border-white/5"><span class="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span><span class="text-xs md:text-sm text-gray-400 font-medium">準備完了</span></div><button type="button" class="w-full py-3 px-6 rounded-xl bg-gradient-to-r from-cyan-500 to-blue-600 text-white font-semibold text-sm md:text-base shadow-lg shadow-cyan-500/25 hover:shadow-cyan-500/40 hover:scale-[1.02] active:scale-[0.98] transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-cyan-400/50">インタラクト</button></div></div></div><div class="w-full max-w-md mx-auto my-8 px-4 md:max-w-lg lg:max-w-xl"><div class="bg-white rounded-2xl shadow-lg overflow-hidden border border-gray-100 md:rounded-3xl lg:rounded-3xl"><div class="bg-gradient-to-r from-[#7c3aed] to-[#a78bfa] px-6 py-4 md:px-8 md:py-6 lg:px-10 lg:py-7"><h2 class="text-white text-xl font-bold tracking-tight md:text-2xl lg:text-3xl">Gen_53928</h2><p class="text-purple-100 text-sm mt-1 md:text-base lg:text-lg">シンプルなアトムコンポーネント</p></div><div class="p-6 space-y-4 md:p-8 md:space-y-6 lg:p-10 lg:space-y-7"><div class="flex items-center justify-between"><span class="text-gray-700 font-medium md:text-lg lg:text-xl">ステータス</span><span class="inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-semibold md:px-4 md:py-1.5 md:text-sm lg:px-5 lg:py-2 lg:text-base bg-gray-100 text-gray-500"><span class="w-2 h-2 rounded-full md:w-2.5 md:h-2.5 lg:w-3 lg:h-3 bg-gray-400"></span>待機中</span></div><div class="bg-gray-50 rounded-xl p-4 md:p-6 lg:p-7"><p class="text-gray-600 text-sm leading-relaxed md:text-base lg:text-lg">このコンポーネントは<span class="font-semibold text-purple-600"> Gen_71342 </span>として単一の責務を持ちます。 状態管理は内部で完結し、外部からのpropsは不要です。</p></div><button class="w-full py-3 px-6 rounded-xl font-medium text-sm transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 md:py-4 md:px-8 md:text-base lg:py-5 lg:px-10 lg:text-lg bg-purple-50 text-purple-600 hover:bg-purple-100 focus:ring-purple-300">アクティブにする</button></div><div class="px-6 py-3 bg-gray-50 border-t border-gray-100 md:px-8 md:py-4 lg:px-10 lg:py-5"><p class="text-xs text-gray-400 text-center md:text-sm lg:text-base">v1.0 · レスポンシブ対応 · 外部依存なし</p></div></div></div><div class="flex flex-col justify-center items-center h-screen bg-[#f0f0f0]"><h1 class="text-4xl font-bold text-[#333] md:text-5xl lg:text-6xl">Gen_77358</h1><h2 class="text-2xl font-semibold text-[#555] md:text-3xl lg:text-4xl mt-4">サブタイトル</h2></div><div class="flex flex-col items-center justify-center min-h-[200px] p-6 md:p-8 lg:p-10"><h2 class="text-xl md:text-2xl lg:text-3xl font-bold text-[#374151] mb-4 md:mb-6 lg:mb-8">カウンター</h2><div class=" relative flex items-center justify-center w-24 h-24 md:w-28 md:h-28 lg:w-32 lg:h-32 rounded-full bg-gradient-to-br from-[#7c3aed] to-[#a78bfa] shadow-lg shadow-[#7c3aed]/30 cursor-pointer select-none transition-all duration-300 ease-out hover:scale-105 hover:shadow-[#7c3aed]/40 " role="button" tabindex="0" aria-label="カウント: 0"><span class="text-white text-3xl md:text-4xl lg:text-5xl font-bold drop-shadow-sm">0</span></div><p class="mt-4 md:mt-5 lg:mt-6 text-sm md:text-base lg:text-lg text-[#6b7280] font-medium tracking-wide">クリックしてカウントアップ</p></div><div class="w-full min-h-screen flex items-center justify-center bg-gradient-to-br from-[#0f172a] via-[#1e293b] to-[#0f172a] p-4"><div class="relative w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-lg xl:max-w-xl"><div class="relative z-10 bg-[#1e293b]/80 backdrop-blur-md rounded-2xl border border-[#334155] shadow-2xl shadow-black/40 overflow-hidden transition-all duration-500 ease-out scale-95 opacity-90"><div class="px-4 sm:px-5 md:px-6 pt-4 sm:pt-5 md:pt-6 pb-3 sm:pb-3 md:pb-4 border-b border-[#334155]/60"><div class="flex items-center justify-between"><div class="flex items-center gap-2 sm:gap-2 md:gap-3"><div class="w-2 h-2 sm:w-2.5 sm:h-2.5 md:w-3 md:h-3 rounded-full bg-emerald-400 shadow-lg shadow-emerald-400/30 animate-pulse"></div><h2 class="text-base sm:text-base md:text-lg font-semibold text-slate-100 tracking-wide">Gen_40937</h2></div><button class="w-7 h-7 sm:w-7 sm:h-7 md:w-8 md:h-8 flex items-center justify-center rounded-full bg-slate-700/50 hover:bg-slate-600/60 text-slate-300 transition-all duration-200 active:scale-90" aria-label="開く"><svg class="w-3.5 h-3.5 sm:w-3.5 sm:h-3.5 md:w-4 md:h-4 transition-transform duration-300 " fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M19 9l-7 7-7-7"></path></svg></button></div><p class="mt-1 sm:mt-1 md:mt-2 text-xs sm:text-xs md:text-sm text-slate-400/80">??????????</p></div><div class="px-4 sm:px-5 md:px-6 py-4 sm:py-4 md:py-5 transition-all duration-500 ease-in-out overflow-hidden max-h-0 opacity-0 py-0"><div class="space-y-2 sm:space-y-2 md:space-y-3"><div class="flex items-center gap-2 sm:gap-2 md:gap-3 p-2 sm:p-2 md:p-3 rounded-xl bg-slate-700/30 border border-slate-600/20"><span class="text-xl sm:text-xl md:text-2xl">🔮</span><span class="text-xs sm:text-xs md:text-sm text-slate-300">未知の信号を検出しました</span></div><div class="flex items-center gap-2 sm:gap-2 md:gap-3 p-2 sm:p-2 md:p-3 rounded-xl bg-slate-700/30 border border-slate-600/20"><span class="text-xl sm:text-xl md:text-2xl">⚡</span><span class="text-xs sm:text-xs md:text-sm text-slate-300">応答準備完了</span></div><div class="flex items-center gap-2 sm:gap-2 md:gap-3 p-2 sm:p-2 md:p-3 rounded-xl bg-slate-700/30 border border-slate-600/20"><span class="text-xl sm:text-xl md:text-2xl">🌌</span><span class="text-xs sm:text-xs md:text-sm text-slate-300">深宇宙通信リンク確立</span></div></div></div><div class="px-4 sm:px-5 md:px-6 py-3 sm:py-3 md:py-4 border-t border-[#334155]/60 flex justify-between items-center"><span class="text-xs text-slate-500">ステータス: 待機中</span><button class="px-3 sm:px-3 md:px-4 py-1 sm:py-1 md:py-1.5 text-xs font-medium text-slate-200 bg-emerald-500/20 hover:bg-emerald-500/30 border border-emerald-400/30 rounded-full transition-all duration-200 active:scale-95">詳細を表示</button></div></div><div class="absolute -top-4 sm:-top-4 md:-top-6 -right-4 sm:-right-4 md:-right-6 w-24 h-24 sm:w-28 sm:h-28 md:w-32 md:h-32 bg-emerald-400/10 rounded-full blur-3xl pointer-events-none"></div><div class="absolute -bottom-6 sm:-bottom-6 md:-bottom-8 -left-6 sm:-left-6 md:-left-8 w-32 h-32 sm:w-36 sm:h-36 md:w-40 md:h-40 bg-blue-500/10 rounded-full blur-3xl pointer-events-none"></div></div></div></div>
▸ コンソール
6部品・0〜数百トークン
✕