सामग्री पर जाएँ
अनुभाग
Fiesta

signin

स्क्रीन घटकों से बनी पूरी स्क्रीनें। इनमें से किसी एक से अपनी शुरुआत करें।

साइन-इन स्क्रीन, हर उस स्थिति में जिससे वह गुज़रती है: पता माँगते हुए, लौटने पर, लिंक भेजे जाने के बाद, कुछ गड़बड़ होने पर, और अंदर आने के दूसरे रास्ते।

हर उदाहरण असली है, पर उसके लिंक कहीं नहीं ले जाते। HTML कॉपी करने के लिए मार्कअप दिखाता है।

पता माँगना

एक फ़ील्ड और एक बटन। याद रखने को कुछ नहीं, चुराने को कुछ नहीं।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door>
    <h1 id="rst-signin-heading">Harbour में साइन इन करें</h1>
    <form rst-signin-form method="post" action="/signin">
      <div rst-field>
        <label rst-field-label for="rst-signin-email">ईमेल</label>
        <input rst-input type="email" id="rst-signin-email" name="address" required autofocus autocomplete="email">
      </div>
      <button rst-btn="primary block" type="submit">जारी रखें</button>
    </form>
    <p rst-signin-or>or</p>
    <div rst-signin-passkey="after">
      <button rst-btn="block" type="button" aria-describedby="rst-signin-passkey-msg">पासकी से साइन इन करें</button>
      <div rst-signin-passkey-note>
        <p rst-signin-passkey-msg id="rst-signin-passkey-msg" aria-live="polite"></p>
        <button type="button" rst-signin-passkey-close hidden aria-label="बंद करें">
          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
        </button>
      </div>
    </div>
  </div>
</section>

किसी ऐप में यह /signin तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

Keymail के साथ वापसी

लौटने वाले के लिए: पिछली बार जो पता इस्तेमाल हुआ था, वह बटन पर है, इसलिए एक टैप में भेजा जाता है। उस पते को याद रखना, और उसे फिर से जाँचना, आपके ऐप का काम है।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door>
    <h1 id="rst-signin-heading">Harbour में साइन इन करें</h1>
    <form rst-signin-form method="post" action="/signin">
      <input type="hidden" name="address" value="kay@example.org">
      <input type="hidden" name="expect" value="keymail">
      <button rst-btn="primary block" type="submit" autofocus>
        <span><bdi>kay@example.org</bdi> के रूप में जारी रखें</span>
      </button>
    </form>
    <form rst-signin-form method="post" action="/signin/forget">
      <button rst-btn="ghost block" type="submit">कोई दूसरा ईमेल इस्तेमाल करें</button>
    </form>
  </div>
</section>

किसी ऐप में यह /signin, /signin/forget तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

एक पासकी

जिसके पास पहले से है, उसके लिए यह सबसे तेज़ रास्ता है और टाइप करने को कुछ नहीं। दूसरा रास्ता भी दें: लोग डिवाइस खो देते हैं, और जो पासकी काम न करे वह बंद दरवाज़ा है।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door>
    <h1 id="rst-signin-heading">Harbour में साइन इन करें</h1>
    <div rst-signin-passkey="before">
      <button rst-btn="primary block" type="button" aria-describedby="rst-signin-passkey-msg">अपनी पासकी से साइन इन करें</button>
      <div rst-signin-passkey-note>
        <p rst-signin-passkey-msg id="rst-signin-passkey-msg" aria-live="polite"></p>
        <button type="button" rst-signin-passkey-close hidden aria-label="बंद करें">
          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
        </button>
      </div>
    </div>
    <p rst-signin-or>or</p>
    <form rst-signin-form method="post" action="/signin">
      <div rst-field>
        <label rst-field-label for="rst-signin-email">ईमेल</label>
        <input rst-input type="email" id="rst-signin-email" name="address" required autocomplete="email">
      </div>
      <button rst-btn="primary block" type="submit">जारी रखें</button>
    </form>
    <form rst-signin-form method="post" action="/signin/forget">
      <button rst-btn="ghost block" type="submit">कोई दूसरा ईमेल इस्तेमाल करें</button>
    </form>
  </div>
</section>

किसी ऐप में यह /signin, /signin/forget तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

एक पासकी, जब वह इस्तेमाल नहीं हुई

यहाँ ईमेल वाला फ़ॉर्म बटन के बाद आता है, इसलिए संदेश बटन के ऊपर, शीर्षक पर खुलता है, और ईमेल फ़ील्ड को कभी नहीं ढकता।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door>
    <h1 id="rst-signin-heading">Harbour में साइन इन करें</h1>
    <div rst-signin-passkey="before">
      <button rst-btn="primary block" type="button" aria-describedby="rst-signin-passkey-msg">अपनी पासकी से साइन इन करें</button>
      <div rst-signin-passkey-note>
        <p rst-signin-passkey-msg id="rst-signin-passkey-msg" aria-live="polite">कोई पासकी इस्तेमाल नहीं हुई। फिर कोशिश करें, या अपने ईमेल का उपयोग करें।</p>
        <button type="button" rst-signin-passkey-close aria-label="बंद करें">
          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
        </button>
      </div>
    </div>
    <p rst-signin-or>or</p>
    <form rst-signin-form method="post" action="/signin">
      <div rst-field>
        <label rst-field-label for="rst-signin-email">ईमेल</label>
        <input rst-input type="email" id="rst-signin-email" name="address" required autocomplete="email">
      </div>
      <button rst-btn="primary block" type="submit">जारी रखें</button>
    </form>
    <form rst-signin-form method="post" action="/signin/forget">
      <button rst-btn="ghost block" type="submit">कोई दूसरा ईमेल इस्तेमाल करें</button>
    </form>
  </div>
</section>

किसी ऐप में यह /signin, /signin/forget तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

Keymail की ओर जाते हुए

एक रुकने वाला पेज, जब किसी को साइन इन करने भेजा जा रहा हो। आपका ऐप पेज को खुद आगे बढ़ाता है; अगर न बढ़ाए, तो उसके लिए लिंक है।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door>
    <h1 id="rst-signin-heading">आपको साइन इन कराया जा रहा है</h1>
    <p>यह पुष्टि करने के लिए आपको ले जा रहे हैं कि यह आप ही हैं।</p>
    <a rst-btn="primary block" href="#">जारी रखें</a>
  </div>
</section>

ऐसा पता जो सही नहीं लगता

संदेश फ़ील्ड का ही हिस्सा है, और फ़ोकस वहीं से शुरू होता है।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door>
    <h1 id="rst-signin-heading">Harbour में साइन इन करें</h1>
    <form rst-signin-form method="post" action="/signin">
      <div rst-field>
        <label rst-field-label for="rst-signin-email">ईमेल</label>
        <input rst-input type="email" id="rst-signin-email" name="address" value="grace@example" required autofocus autocomplete="email" aria-invalid="true" aria-describedby="rst-signin-email-error">
        <p rst-field-error id="rst-signin-email-error">यह ईमेल पता नहीं लगता।</p>
      </div>
      <button rst-btn="primary block" type="submit">जारी रखें</button>
    </form>
  </div>
</section>

किसी ऐप में यह /signin तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

जब Keymail पुष्टि नहीं कर सका

बटन बदलकर लिंक भेजने वाला बन जाता है, ताकि कोई अटके नहीं।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door>
    <h1 id="rst-signin-heading">Harbour में साइन इन करें</h1>
    <div rst-callout id="rst-signin-problem" rst-tone="negative" tabindex="-1" autofocus>
      <span rst-callout-ic aria-hidden="true">
        <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/></svg>
      </span>
      <div rst-callout-body>
        <p>हम पुष्टि नहीं कर सके कि यह आप ही हैं। फिर कोशिश करें, या खुद को साइन-इन लिंक ईमेल करें।</p>
      </div>
    </div>
    <form rst-signin-form method="post" action="/signin">
      <div rst-field>
        <label rst-field-label for="rst-signin-email">ईमेल</label>
        <input rst-input type="email" id="rst-signin-email" name="address" value="kay@example.org" required autocomplete="email">
      </div>
      <input type="hidden" name="force" value="1">
      <button rst-btn="primary block" type="submit">इसके बजाय मुझे लिंक भेजें</button>
    </form>
  </div>
</section>

किसी ऐप में यह /signin तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

जब कोई पासकी इस्तेमाल नहीं हुई

संदेश पासकी बटन के नीचे खुलता है और कोई जगह नहीं लेता, इसलिए "जारी रखें" जहाँ था वहीं रहता है। आपकी स्क्रिप्ट संदेश लिखती है और बंद करने का बटन दिखाती है। संकरे फ़ोन पर नोट बंद होने तक फ़ुटर के किसी लिंक को ढक सकता है।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door>
    <h1 id="rst-signin-heading">Harbour में साइन इन करें</h1>
    <form rst-signin-form method="post" action="/signin">
      <div rst-field>
        <label rst-field-label for="rst-signin-email">ईमेल</label>
        <input rst-input type="email" id="rst-signin-email" name="address" required autofocus autocomplete="email">
      </div>
      <button rst-btn="primary block" type="submit">जारी रखें</button>
    </form>
    <p rst-signin-or>or</p>
    <div rst-signin-passkey="after">
      <button rst-btn="block" type="button" aria-describedby="rst-signin-passkey-msg">पासकी से साइन इन करें</button>
      <div rst-signin-passkey-note>
        <p rst-signin-passkey-msg id="rst-signin-passkey-msg" aria-live="polite">कोई पासकी इस्तेमाल नहीं हुई। फिर कोशिश करें, या अपने ईमेल का उपयोग करें।</p>
        <button type="button" rst-signin-passkey-close aria-label="बंद करें">
          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
        </button>
      </div>
    </div>
  </div>
</section>

किसी ऐप में यह /signin तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

Google, Apple और बाकी

हम आपको बटन देते हैं, हर कंपनी की माँग के अनुसार बने हुए। साइन-इन खुद हम नहीं देते: वह आप अपने प्रदाता से जोड़ते हैं।

पूर्वावलोकन
<section rst-box>
  <h1>साइन इन करें</h1>
  <div rst-signin-providers>
    <form method="post" action="/auth/google">
      <button rst-btn="block" type="submit">
        <svg aria-hidden="true" focusable="false" width="1.1em" height="1.1em" viewBox="0 0 48 48"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/></svg>
        Google से जारी रखें
      </button>
    </form>
    <form method="post" action="/auth/apple">
      <button rst-btn="block" type="submit">
        <svg aria-hidden="true" focusable="false" width="1.1em" height="1.1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12.15 6.9c-.95 0-2.42-1.08-3.96-1.04-2.04.03-3.91 1.18-4.96 3.01-2.12 3.68-.55 9.1 1.52 12.09 1.01 1.45 2.2 3.09 3.79 3.04 1.52-.07 2.09-.99 3.94-.99 1.83 0 2.35.99 3.96.95 1.64-.03 2.68-1.48 3.68-2.95 1.15-1.69 1.63-3.33 1.66-3.42-.04-.01-3.18-1.22-3.22-4.86-.03-3.04 2.48-4.49 2.6-4.56-1.43-2.09-3.63-2.32-4.39-2.38-2-.15-3.68 1.09-4.62 1.09zm3.38-3.07c.84-1.01 1.4-2.43 1.25-3.83-1.21.05-2.66.8-3.53 1.82-.78.9-1.46 2.34-1.27 3.71 1.34.1 2.71-.69 3.55-1.7z"/></svg>
        Apple से जारी रखें
      </button>
    </form>
    <a href="/signin">इसके बजाय अपना ईमेल इस्तेमाल करें</a>
  </div>
</section>

किसी ऐप में यह /auth/apple, /auth/google, /signin तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

ईमेल और पासवर्ड

अगर आप पासवर्ड इस्तेमाल करते ही हैं, तो वही एक-मुख्य-रास्ता वाला ढाँचा रखें, और रीसेट करने का रास्ता बटन के ठीक नीचे रखें, छिपाएँ नहीं।

हम पासवर्ड की सलाह नहीं देते

लोग इन्हें दोबारा इस्तेमाल करते हैं, ये लीक होते हैं, और इन्हें सुरक्षित रखने का काम आपके सिर आता है। ईमेल में एक लिंक के साथ पासकी इस्तेमाल करें, या सिर्फ़ पासकी। मार्कअप यहाँ इसलिए है क्योंकि कुछ उत्पादों को अब भी इसकी ज़रूरत है।

पूर्वावलोकन
<section rst-box>
  <h1>साइन इन करें</h1>
  <form rst-form method="post" action="/signin">
    <div rst-field>
      <label rst-field-label for="pw-email">ईमेल</label>
      <input rst-input id="pw-email" name="email" type="email" autocomplete="email" required>
    </div>
    <div rst-field>
      <label rst-field-label for="pw-pass">पासवर्ड</label>
      <input rst-input id="pw-pass" name="password" type="password" autocomplete="current-password" required>
    </div>
    <button rst-btn="primary" type="submit">जारी रखें</button>
  </form>
</section>

किसी ऐप में यह /signin तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

अंदर आने का एक तरीका

एक बटन, उस तरीके के लिए जिससे यह व्यक्ति पिछली बार आया था, या जिसे आपका ऐप पहले देता है। बाकी हर तरीका एक टैप दूर है, "साइन इन करने के दूसरे तरीके" के पीछे। इस दरवाज़े का हर बटन गोली के आकार का है।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door="one-way">
    <h1 id="rst-signin-heading">Harbour में साइन इन करें</h1>
    <a rst-btn="primary block" href="/signin/oficina">
      <svg viewBox="18 20 62 60" aria-hidden="true" focusable="false"><rect x="30.62" y="23.78" width="45.60" height="36.48" rx="7.98" fill="currentColor" opacity=".55"/><rect x="22.64" y="36.32" width="50.16" height="38.76" rx="7.98" fill="currentColor"/></svg>
      <span>Oficina ID के साथ जारी रखें</span>
    </a>
    <a rst-btn="ghost" href="/signin?ways=1&amp;way=oficina">
      <span>साइन इन करने के दूसरे तरीके</span>
      <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m9 18 6-6-6-6"/></svg>
    </a>
  </div>
</section>

किसी ऐप में यह /signin/oficina, /signin?ways=1&way=oficina तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

पासकी से अंदर आने का एक तरीका

पासकी ही अंदर आने का एक तरीका है। बटन को बंद हालत में बनाएँ और स्क्रिप्ट को उसे चालू करने दें, ताकि चालू होने पर कुछ न हिले; उसके नीचे की पंक्ति में स्क्रिप्ट बताती है कि क्या हुआ।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door="one-way">
    <h1 id="rst-signin-heading">Harbour में साइन इन करें</h1>
    <div rst-signin-passkey="before">
      <button rst-btn="primary block" type="button" aria-describedby="rst-signin-passkey-msg">
        <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z"/><circle cx="16.5" cy="7.5" r=".5" fill="currentColor"/></svg>
        <span>अपनी पासकी से साइन इन करें</span>
      </button>
      <div rst-signin-passkey-note>
        <p rst-signin-passkey-msg id="rst-signin-passkey-msg" aria-live="polite"></p>
        <button type="button" rst-signin-passkey-close hidden aria-label="बंद करें">
          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
        </button>
      </div>
    </div>
    <a rst-btn="ghost" href="/signin?ways=1&amp;way=passkey">
      <span>साइन इन करने के दूसरे तरीके</span>
      <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m9 18 6-6-6-6"/></svg>
    </a>
  </div>
</section>

किसी ऐप में यह /signin?ways=1&way=passkey तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

साइन इन करने के दूसरे तरीके

लिंक की एक सूची, फ़ॉर्म नहीं, इसलिए इसे किसी स्क्रिप्ट की ज़रूरत नहीं। हर पंक्ति अंदर आने के एक तरीके वाली स्क्रीन खोलती है, और ईमेल वाली पंक्ति वह पता दिखाती है जो यह ब्राउज़र याद रखता है।

पूर्वावलोकन
<section rst-signin aria-labelledby="rst-signin-heading">
  <div rst-signin-brand>
    <div rst-signin-mark>
      <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><circle cx="24" cy="24" r="21" fill="none" stroke="currentColor" stroke-width="3"/><path d="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M24 11v11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg>
    </div>
    <p rst-signin-name>Harbour</p>
    <p rst-signin-pitch>लंगर और घाट की जगह, एक मिनट में बुक।</p>
  </div>
  <div rst-signin-door="one-way">
    <h1 id="rst-signin-heading">साइन इन करने के दूसरे तरीके</h1>
    <div rst-signin-ways>
      <a rst-btn="block" href="/signin?way=email">
        <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="20" height="16" x="2" y="4" rx="2"/><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/></svg>
        <span>ईमेल <bdi>ada@example.com</bdi></span>
        <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m9 18 6-6-6-6"/></svg>
      </a>
      <a rst-btn="block" href="/signin?way=passkey">
        <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z"/><circle cx="16.5" cy="7.5" r=".5" fill="currentColor"/></svg>
        <span>पासकी से साइन इन करें</span>
        <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m9 18 6-6-6-6"/></svg>
      </a>
      <form rst-signin-form method="post" action="/signin/forget">
        <input type="hidden" name="way" value="email">
        <button rst-btn="block" type="submit">
          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4"/><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8"/></svg>
          <span>कोई दूसरा ईमेल इस्तेमाल करें</span>
          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m9 18 6-6-6-6"/></svg>
        </button>
      </form>
    </div>
    <a rst-btn="ghost" href="/signin?way=oficina">
      <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m15 18-6-6 6-6"/></svg>
      <span>वापस</span>
    </a>
  </div>
</section>

किसी ऐप में यह /signin/forget, /signin?way=email, /signin?way=oficina, /signin?way=passkey तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।