{# @description A sidebar drawer around the page. The default slot is the page, the side slot is the sidebar, and a checkbox toggles it. In the gallery, set id to demo-drawer so the opener in the trigger opens this drawer. #} {# @prop id:text | required | example:"nav" | description:"Id of the drawer's toggle checkbox. A drawer.button opens the drawer through this id, so it must be unique on the page." #} {# @prop open:boolean | description:"Keep the sidebar open beside the page. Accepts a breakpoint such as lg to keep it open from that width up." #} {# @prop placement:select['end'] | description:"Put the sidebar on the end side. Leave empty for the start side." #} {# @prop class:text | description:"Extra classes added to the drawer." #} {# @prop side:text | description:"The sidebar content. Give it as the side slot; this declaration keeps a page variable of the same name out of the sidebar. An attribute of the same name replaces the slot." #} {# @slot
Sign in
OR
Register
OneTwoThreeAboutTerms — The page content. This example also shows divider, join and footer switching direction at the sm breakpoint. #} {# @slot:side — The sidebar content, shown when the drawer is open. #} {# @trigger Open sidebar — Opens the drawer whose id is demo-drawer. It sits in the page content, where the focus ring shows. #} {% load i18n daisy_cotton %}
{{ slot }}
{{ side }}