Radio-buttons | andrew demchenk0 hot bird 10

Radio-buttonshot bird1 个文件更新于 2026-04-06
html公开前 25 行,完整代码需登录
<div role="radiogroup" class="theme-switcher">
  <button
    type="button"
    role="radio"
    data-theme-switcher="true"
    data-active="false"
    class="theme-switcher_switch"
    aria-label="Switch to light theme"
    aria-checked="false"
  >
    <svg
      style="color: currentcolor; width: 16px; height: 16px;"
      width="24"
      viewBox="0 0 24 24"
      stroke-width="1.5"
      stroke-linejoin="round"
      stroke-linecap="round"
      stroke="currentColor"
      shape-rendering="geometricPrecision"
      height="24"
      fill="none"
      data-testid="geist-icon"
      class="icon"
    >
      <circle r="5" cy="12" cx="12"></circle>

登录后可以查看完整源码、在线编辑并实时预览运行效果。