|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336 |
- <template>
- <div>
- <div class="intro-y flex items-center mt-8">
- <h2 class="text-lg font-medium mr-auto">Regular Form</h2>
- </div>
- <div class="grid grid-cols-12 gap-6 mt-5">
- <div class="intro-y col-span-12 lg:col-span-6">
- <!-- BEGIN: Input -->
- <div class="intro-y box">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Input</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#input"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="input" class="p-5">
- <div class="preview">
- <div>
- <label>Input Text</label>
- <input
- type="text"
- class="input w-full border mt-2"
- placeholder="Input text"
- />
- </div>
- <div class="mt-3">
- <label>Rounded</label>
- <input
- type="text"
- class="input w-full rounded-full border mt-2"
- placeholder="Rounded"
- />
- </div>
- <div class="mt-3">
- <label>With Help</label>
- <input
- type="text"
- class="input w-full border mt-2"
- placeholder="With help"
- />
- <div class="text-xs text-gray-600 mt-2">
- Lorem Ipsum is simply dummy text of the printing and
- typesetting industry.
- </div>
- </div>
- <div class="mt-3">
- <label>Password</label>
- <input
- type="password"
- class="input w-full border mt-2"
- placeholder="Password"
- />
- </div>
- <div class="mt-3">
- <label>Disabled</label>
- <input
- type="text"
- class="input w-full border mt-2 bg-gray-100 cursor-not-allowed"
- placeholder="Disabled"
- disabled
- />
- </div>
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-input"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-input" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <div>
- <label>Input Text</label>
- <input
- type="text"
- class="input w-full border mt-2"
- placeholder="Input text"
- />
- </div>
- <div class="mt-3">
- <label>Rounded</label>
- <input
- type="text"
- class="input w-full rounded-full border mt-2"
- placeholder="Rounded"
- />
- </div>
- <div class="mt-3">
- <label>With Help</label>
- <input
- type="text"
- class="input w-full border mt-2"
- placeholder="With help"
- />
- <div class="text-xs text-gray-600 mt-2">
- Lorem Ipsum is simply dummy text of the printing and
- typesetting industry.
- </div>
- </div>
- <div class="mt-3">
- <label>Password</label>
- <input
- type="password"
- class="input w-full border mt-2"
- placeholder="Password"
- />
- </div>
- <div class="mt-3">
- <label>Disabled</label>
- <input
- type="text"
- class="input w-full border mt-2 bg-gray-100 cursor-not-allowed"
- placeholder="Disabled"
- disabled
- />
- </div>
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Input -->
- <!-- BEGIN: Input Sizing -->
- <div class="intro-y box mt-5">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Input Sizing</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#input-sizing"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="input-sizing" class="p-5">
- <div class="preview">
- <input
- type="text"
- class="input input--sm w-full border"
- placeholder="Input small"
- />
- <input
- type="text"
- class="input w-full border mt-2"
- placeholder="Input normal"
- />
- <input
- type="text"
- class="input input--lg w-full border mt-2"
- placeholder="Input large"
- />
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-input-sizing"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-input-sizing" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <input
- type="text"
- class="input input--sm w-full border"
- placeholder="Input small"
- />
- <input
- type="text"
- class="input w-full border mt-2"
- placeholder="Input normal"
- />
- <input
- type="text"
- class="input input--lg w-full border mt-2"
- placeholder="Input large"
- />
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Input Sizing -->
- <!-- BEGIN: Input Groups -->
- <div class="intro-y box mt-5">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Input Groups</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#input-groups"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="input-groups" class="p-5">
- <div class="preview">
- <div class="relative">
- <div
- class="absolute rounded-l w-10 h-full flex items-center justify-center bg-gray-100 dark:bg-dark-1 dark:border-dark-4 border text-gray-600"
- >
- @
- </div>
- <input
- type="text"
- class="input pl-12 w-full border col-span-4"
- placeholder="Email"
- />
- </div>
- <div class="relative mt-2">
- <input
- type="text"
- class="input pr-12 w-full border col-span-4"
- placeholder="Price"
- />
- <div
- class="absolute top-0 right-0 rounded-r w-10 h-full flex items-center justify-center bg-gray-100 dark:bg-dark-1 dark:border-dark-4 border text-gray-600"
- >
- .00
- </div>
- </div>
- <div class="relative mt-2">
- <div
- class="absolute rounded-l w-10 h-full flex items-center justify-center bg-gray-100 dark:bg-dark-1 dark:border-dark-4 border text-gray-600"
- >
- @
- </div>
- <input
- type="text"
- class="input px-12 w-full border col-span-4"
- placeholder="Price"
- />
- <div
- class="absolute top-0 right-0 rounded-r w-10 h-full flex items-center justify-center bg-gray-100 dark:bg-dark-1 dark:border-dark-4 border text-gray-600"
- >
- .00
- </div>
- </div>
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-input-groups"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-input-groups" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <div class="relative">
- <div
- class="absolute rounded-l w-10 h-full flex items-center justify-center bg-gray-100 dark:bg-dark-1 dark:border-dark-4 border text-gray-600"
- >
- @
- </div>
- <input
- type="text"
- class="input pl-12 w-full border col-span-4"
- placeholder="Email"
- />
- </div>
- <div class="relative mt-2">
- <input
- type="text"
- class="input pr-12 w-full border col-span-4"
- placeholder="Price"
- />
- <div
- class="absolute top-0 right-0 rounded-r w-10 h-full flex items-center justify-center bg-gray-100 dark:bg-dark-1 dark:border-dark-4 border text-gray-600"
- >
- .00
- </div>
- </div>
- <div class="relative mt-2">
- <div
- class="absolute rounded-l w-10 h-full flex items-center justify-center bg-gray-100 dark:bg-dark-1 dark:border-dark-4 border text-gray-600"
- >
- @
- </div>
- <input
- type="text"
- class="input px-12 w-full border col-span-4"
- placeholder="Price"
- />
- <div
- class="absolute top-0 right-0 rounded-r w-10 h-full flex items-center justify-center bg-gray-100 dark:bg-dark-1 dark:border-dark-4 border text-gray-600"
- >
- .00
- </div>
- </div>
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Input Groups -->
- <!-- BEGIN: Input State -->
- <div class="intro-y box mt-5">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Input State</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#input-state"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="input-state" class="p-5">
- <div class="preview">
- <div>
- <label>Input Success</label>
- <input
- type="text"
- class="input w-full border border-theme-9 mt-2"
- placeholder="Input text"
- />
- <div class="w-full grid grid-cols-12 gap-4 h-1 mt-3">
- <div class="col-span-3 h-full rounded bg-theme-9"></div>
- <div class="col-span-3 h-full rounded bg-theme-9"></div>
- <div class="col-span-3 h-full rounded bg-theme-9"></div>
- <div
- class="col-span-3 h-full rounded bg-gray-200 dark:bg-dark-1"
- ></div>
- </div>
- <div class="text-theme-9 mt-2">Strong password</div>
- </div>
- <div class="mt-3">
- <label>Input Warning</label>
- <input
- type="text"
- class="input w-full border border-theme-12 mt-2"
- placeholder="Input text"
- />
- <div class="text-theme-12 mt-2">
- Attempting to reconnect to server...
- </div>
- </div>
- <div class="mt-3">
- <label>Input Error</label>
- <input
- type="text"
- class="input w-full border border-theme-6 mt-2"
- placeholder="Input text"
- />
- <div class="text-theme-6 mt-2">This field is required</div>
- </div>
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-input-state"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-input-state" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <div>
- <label>Input Success</label>
- <input
- type="text"
- class="input w-full border border-theme-9 mt-2"
- placeholder="Input text"
- />
- <div class="w-full grid grid-cols-12 gap-4 h-1 mt-3">
- <div class="col-span-3 h-full rounded bg-theme-9"></div>
- <div class="col-span-3 h-full rounded bg-theme-9"></div>
- <div class="col-span-3 h-full rounded bg-theme-9"></div>
- <div
- class="col-span-3 h-full rounded bg-gray-200 dark:bg-dark-1"
- ></div>
- </div>
- <div class="text-theme-9 mt-2">Strong password</div>
- </div>
- <div class="mt-3">
- <label>Input Warning</label>
- <input
- type="text"
- class="input w-full border border-theme-12 mt-2"
- placeholder="Input text"
- />
- <div class="text-theme-12 mt-2">
- Attempting to reconnect to server...
- </div>
- </div>
- <div class="mt-3">
- <label>Input Error</label>
- <input
- type="text"
- class="input w-full border border-theme-6 mt-2"
- placeholder="Input text"
- />
- <div class="text-theme-6 mt-2">
- This field is required
- </div>
- </div>
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Input State -->
- <!-- BEGIN: Select Options -->
- <div class="intro-y box mt-5">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Select Options</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#select-options"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="select-options" class="p-5">
- <div class="preview">
- <div class="flex flex-col sm:flex-row items-center">
- <div class="sm:mt-2">
- <select class="input input--sm border mr-2">
- <option>Chris Evans</option>
- <option>Liam Neeson</option>
- <option>Daniel Craig</option>
- </select>
- </div>
- <div class="mt-2">
- <select class="input border mr-2">
- <option>Chris Evans</option>
- <option>Liam Neeson</option>
- <option>Daniel Craig</option>
- </select>
- </div>
- <div class="mt-2">
- <select class="input input--lg border mr-2">
- <option>Chris Evans</option>
- <option>Liam Neeson</option>
- <option>Daniel Craig</option>
- </select>
- </div>
- </div>
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-select-options"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-select-options" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <div class="flex flex-col sm:flex-row items-center">
- <div class="sm:mt-2">
- <select class="input input--sm border mr-2">
- <option>Chris Evans</option>
- <option>Liam Neeson</option>
- <option>Daniel Craig</option>
- </select>
- </div>
- <div class="mt-2">
- <select class="input border mr-2">
- <option>Chris Evans</option>
- <option>Liam Neeson</option>
- <option>Daniel Craig</option>
- </select>
- </div>
- <div class="mt-2">
- <select class="input input--lg border mr-2">
- <option>Chris Evans</option>
- <option>Liam Neeson</option>
- <option>Daniel Craig</option>
- </select>
- </div>
- </div>
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Select Options -->
- </div>
- <div class="intro-y col-span-12 lg:col-span-6">
- <!-- BEGIN: Vertical Form -->
- <div class="intro-y box">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Vertical Form</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#vertical-form"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="vertical-form" class="p-5">
- <div class="preview">
- <div>
- <label>Email</label>
- <input
- type="email"
- class="input w-full border mt-2"
- placeholder="example@gmail.com"
- />
- </div>
- <div class="mt-3">
- <label>Password</label>
- <input
- type="password"
- class="input w-full border mt-2"
- placeholder="secret"
- />
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-5"
- >
- <input
- id="vertical-remember-me"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-remember-me"
- >Remember me</label
- >
- </div>
- <button type="button" class="button bg-theme-1 text-white mt-5">
- Login
- </button>
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-vertical-form"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-vertical-form" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <div>
- <label>Email</label>
- <input
- type="email"
- class="input w-full border mt-2"
- placeholder="example@gmail.com"
- />
- </div>
- <div class="mt-3">
- <label>Password</label>
- <input
- type="password"
- class="input w-full border mt-2"
- placeholder="secret"
- />
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-5"
- >
- <input
- id="vertical-remember-me"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-remember-me"
- >Remember me</label
- >
- </div>
- <button
- type="button"
- class="button bg-theme-1 text-white mt-5"
- >
- Login
- </button>
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Vertical Form -->
- <!-- BEGIN: Horizontal Form -->
- <div class="intro-y box mt-5">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Horizontal Form</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#horizontal-form"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="horizontal-form" class="p-5">
- <div class="preview">
- <div class="flex flex-col sm:flex-row items-center">
- <label class="w-full sm:w-20 sm:text-right sm:mr-5"
- >Email</label
- >
- <input
- type="email"
- class="input w-full border mt-2 flex-1"
- placeholder="example@gmail.com"
- />
- </div>
- <div class="flex flex-col sm:flex-row items-center mt-3">
- <label class="w-full sm:w-20 sm:text-right sm:mr-5"
- >Password</label
- >
- <input
- type="password"
- class="input w-full border mt-2 flex-1"
- placeholder="secret"
- />
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-5 sm:ml-20 sm:pl-5"
- >
- <input
- id="horizontal-remember-me"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-remember-me"
- >Remember me</label
- >
- </div>
- <div class="sm:ml-20 sm:pl-5 mt-5">
- <button type="button" class="button bg-theme-1 text-white">
- Login
- </button>
- </div>
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-horizontal-form"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-horizontal-form" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <div class="flex flex-col sm:flex-row items-center">
- <label class="w-full sm:w-20 sm:text-right sm:mr-5"
- >Email</label
- >
- <input
- type="email"
- class="input w-full border mt-2 flex-1"
- placeholder="example@gmail.com"
- />
- </div>
- <div class="flex flex-col sm:flex-row items-center mt-3">
- <label class="w-full sm:w-20 sm:text-right sm:mr-5"
- >Password</label
- >
- <input
- type="password"
- class="input w-full border mt-2 flex-1"
- placeholder="secret"
- />
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-5 sm:ml-20 sm:pl-5"
- >
- <input
- id="horizontal-remember-me"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-remember-me"
- >Remember me</label
- >
- </div>
- <div class="sm:ml-20 sm:pl-5 mt-5">
- <button
- type="button"
- class="button bg-theme-1 text-white"
- >
- Login
- </button>
- </div>
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Horizontal Form -->
- <!-- BEGIN: Inline Form -->
- <div class="intro-y box mt-5">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Inline Form</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#inline-form"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="inline-form" class="p-5">
- <div class="preview">
- <div class="grid grid-cols-12 gap-2">
- <input
- type="text"
- class="input w-full border col-span-4"
- placeholder="Input inline 1"
- />
- <input
- type="text"
- class="input w-full border col-span-4"
- placeholder="Input inline 2"
- />
- <input
- type="text"
- class="input w-full border col-span-4"
- placeholder="Input inline 3"
- />
- </div>
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-inline-form"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-inline-form" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <div class="grid grid-cols-12 gap-2">
- <input
- type="text"
- class="input w-full border col-span-4"
- placeholder="Input inline 1"
- />
- <input
- type="text"
- class="input w-full border col-span-4"
- placeholder="Input inline 2"
- />
- <input
- type="text"
- class="input w-full border col-span-4"
- placeholder="Input inline 3"
- />
- </div>
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Inline Form -->
- <!-- BEGIN: Checkbox & Switch -->
- <div class="intro-y box mt-5">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Checkbox & Switch</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#checkbox-switch"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="checkbox-switch" class="p-5">
- <div class="preview">
- <div>
- <label>Vertical Checkbox</label>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-checkbox-chris-evans"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-checkbox-chris-evans"
- >Chris evans</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-checkbox-liam-neeson"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-checkbox-liam-neeson"
- >Liam Neeson</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-checkbox-daniel-craig"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-checkbox-daniel-craig"
- >Daniel Craig</label
- >
- </div>
- </div>
- <div class="mt-3">
- <label>Horizontal Checkbox</label>
- <div class="flex flex-col sm:flex-row mt-2">
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mr-2"
- >
- <input
- id="horizontal-checkbox-chris-evans"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-checkbox-chris-evans"
- >Chris evans</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mr-2 mt-2 sm:mt-0"
- >
- <input
- id="horizontal-checkbox-liam-neeson"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-checkbox-liam-neeson"
- >Liam Neeson</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mr-2 mt-2 sm:mt-0"
- >
- <input
- id="horizontal-checkbox-daniel-craig"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-checkbox-daniel-craig"
- >Daniel Craig</label
- >
- </div>
- </div>
- </div>
- <div class="mt-3">
- <label>Switch</label>
- <div class="mt-2">
- <input type="checkbox" class="input input--switch border" />
- </div>
- </div>
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-checkbox-switch"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-checkbox-switch" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <div>
- <label>Vertical Checkbox</label>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-checkbox-chris-evans"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-checkbox-chris-evans"
- >Chris evans</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-checkbox-liam-neeson"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-checkbox-liam-neeson"
- >Liam Neeson</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-checkbox-daniel-craig"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-checkbox-daniel-craig"
- >Daniel Craig</label
- >
- </div>
- </div>
- <div class="mt-3">
- <label>Horizontal Checkbox</label>
- <div class="flex flex-col sm:flex-row mt-2">
- <div class="flex items-center text-gray-700 mr-2">
- <input
- id="horizontal-checkbox-chris-evans"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-checkbox-chris-evans"
- >Chris evans</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 mr-2 mt-2 sm:mt-0"
- >
- <input
- id="horizontal-checkbox-liam-neeson"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-checkbox-liam-neeson"
- >Liam Neeson</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 mr-2 mt-2 sm:mt-0"
- >
- <input
- id="horizontal-checkbox-daniel-craig"
- type="checkbox"
- class="input border mr-2"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-checkbox-daniel-craig"
- >Daniel Craig</label
- >
- </div>
- </div>
- </div>
- <div class="mt-3">
- <label>Switch</label>
- <div class="mt-2">
- <input
- type="checkbox"
- class="input input--switch border"
- />
- </div>
- </div>
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Checkbox & Switch -->
- <!-- BEGIN: Radio Button -->
- <div class="intro-y box mt-5">
- <div
- class="flex flex-col sm:flex-row items-center p-5 border-b border-gray-200 dark:border-dark-5"
- >
- <h2 class="font-medium text-base mr-auto">Radio</h2>
- <div
- class="w-full sm:w-auto flex items-center sm:ml-auto mt-3 sm:mt-0"
- >
- <div class="mr-3">Show example code</div>
- <input
- data-target="#radio"
- class="show-code input input--switch border"
- type="checkbox"
- />
- </div>
- </div>
- <div id="radio" class="p-5">
- <div class="preview">
- <div>
- <label>Vertical Radio Button</label>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-radio-chris-evans"
- type="radio"
- class="input border mr-2"
- name="vertical_radio_button"
- value="vertical-radio-chris-evans"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-radio-chris-evans"
- >Chris evans</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-radio-liam-neeson"
- type="radio"
- class="input border mr-2"
- name="vertical_radio_button"
- value="vertical-radio-liam-neeson"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-radio-liam-neeson"
- >Liam Neeson</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-radio-daniel-craig"
- type="radio"
- class="input border mr-2"
- name="vertical_radio_button"
- value="vertical-radio-daniel-craig"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-radio-daniel-craig"
- >Daniel Craig</label
- >
- </div>
- </div>
- <div class="mt-3">
- <label>Horizontal Radio Button</label>
- <div class="flex flex-col sm:flex-row mt-2">
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mr-2"
- >
- <input
- id="horizontal-radio-chris-evans"
- type="radio"
- class="input border mr-2"
- name="horizontal_radio_button"
- value="horizontal-radio-chris-evans"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-radio-chris-evans"
- >Chris Evans</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mr-2 mt-2 sm:mt-0"
- >
- <input
- id="horizontal-radio-liam-neeson"
- type="radio"
- class="input border mr-2"
- name="horizontal_radio_button"
- value="horizontal-radio-liam-neeson"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-radio-liam-neeson"
- >Liam Neeson</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mr-2 mt-2 sm:mt-0"
- >
- <input
- id="horizontal-radio-daniel-craig"
- type="radio"
- class="input border mr-2"
- name="horizontal_radio_button"
- value="horizontal-radio-daniel-craig"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-radio-daniel-craig"
- >Daniel Craig</label
- >
- </div>
- </div>
- </div>
- </div>
- <div class="source-code hidden">
- <button
- data-target="#copy-radio"
- class="copy-code button button--sm border flex items-center text-gray-700 dark:border-dark-5 dark:text-gray-300"
- >
- <FileIcon class="w-4 h-4 mr-2" /> Copy example code
- </button>
- <div class="overflow-y-auto h-64 mt-3">
- <Highlight id="copy-radio" class="source-preview">
- <code
- class="text-xs p-0 rounded-md html pl-5 pt-8 pb-4 -mb-10 -mt-10"
- >
- <textarea>
- <div>
- <label>Vertical Radio Button</label>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-radio-chris-evans"
- type="radio"
- class="input border mr-2"
- name="vertical_radio_button"
- value="vertical-radio-chris-evans"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-radio-chris-evans"
- >Chris evans</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-radio-liam-neeson"
- type="radio"
- class="input border mr-2"
- name="vertical_radio_button"
- value="vertical-radio-liam-neeson"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-radio-liam-neeson"
- >Liam Neeson</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mt-2"
- >
- <input
- id="vertical-radio-daniel-craig"
- type="radio"
- class="input border mr-2"
- name="vertical_radio_button"
- value="vertical-radio-daniel-craig"
- />
- <label
- class="cursor-pointer select-none"
- for="vertical-radio-daniel-craig"
- >Daniel Craig</label
- >
- </div>
- </div>
- <div class="mt-3">
- <label>Horizontal Radio Button</label>
- <div class="flex flex-col sm:flex-row mt-2">
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mr-2"
- >
- <input
- id="horizontal-radio-chris-evans"
- type="radio"
- class="input border mr-2"
- name="horizontal_radio_button"
- value="horizontal-radio-chris-evans"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-radio-chris-evans"
- >Chris Evans</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mr-2 mt-2 sm:mt-0"
- >
- <input
- id="horizontal-radio-liam-neeson"
- type="radio"
- class="input border mr-2"
- name="horizontal_radio_button"
- value="horizontal-radio-liam-neeson"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-radio-liam-neeson"
- >Liam Neeson</label
- >
- </div>
- <div
- class="flex items-center text-gray-700 dark:text-gray-500 mr-2 mt-2 sm:mt-0"
- >
- <input
- id="horizontal-radio-daniel-craig"
- type="radio"
- class="input border mr-2"
- name="horizontal_radio_button"
- value="horizontal-radio-daniel-craig"
- />
- <label
- class="cursor-pointer select-none"
- for="horizontal-radio-daniel-craig"
- >Daniel Craig</label
- >
- </div>
- </div>
- </div>
- </textarea>
- </code>
- </Highlight>
- </div>
- </div>
- </div>
- </div>
- <!-- END: Radio Button -->
- </div>
- </div>
- </div>
- </template>
|