123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944 |
- <!doctype html>
- <!--
- * Tabler - Premium and Open Source dashboard template with responsive and high quality UI.
- * @version 1.0.0-beta17
- * @link https://tabler.io
- * Copyright 2018-2023 The Tabler Authors
- * Copyright 2018-2023 codecalm.net Paweł Kuna
- * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
- -->
- <html lang="en">
- <head>
- <meta charset="utf-8"/>
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
- <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
- <title>Form elements - Tabler - Premium and Open Source dashboard template with responsive and high quality UI.</title>
- <!-- CSS files -->
- <link href="../dist/css/tabler.min.css?1674944402" rel="stylesheet"/>
- <link href="../dist/css/tabler-flags.min.css?1674944402" rel="stylesheet"/>
- <link href="../dist/css/tabler-payments.min.css?1674944402" rel="stylesheet"/>
- <link href="../dist/css/tabler-vendors.min.css?1674944402" rel="stylesheet"/>
- <link href="../dist/css/demo.min.css?1674944402" rel="stylesheet"/>
- <style>
- @import url('https://rsms.me/inter/inter.css');
- :root {
- --tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
- }
- body {
- font-feature-settings: "cv03", "cv04", "cv11";
- }
- </style>
- </head>
- <body >
- <script src="../dist/js/demo-theme.min.js?1674944402"></script>
- <div class="page">
- <!-- Navbar -->
- <header class="navbar navbar-expand-md navbar-light d-print-none">
- <div class="container-xl">
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu" aria-controls="navbar-menu" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
- <a href="..">
- <img src="../static/logo.svg" width="110" height="32" alt="Tabler" class="navbar-brand-image">
- </a>
- </h1>
- <div class="navbar-nav flex-row order-md-last">
- <div class="nav-item d-none d-md-flex me-3">
- <div class="btn-list">
- <a href="https://github.com/tabler/tabler" class="btn" target="_blank" rel="noreferrer">
- <!-- Download SVG icon from http://tabler-icons.io/i/brand-github -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" /></svg>
- Source code
- </a>
- <a href="https://github.com/sponsors/codecalm" class="btn" target="_blank" rel="noreferrer">
- <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon text-pink" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
- Sponsor
- </a>
- </div>
- </div>
- <div class="d-none d-md-flex">
- <a href="?theme=dark" class="nav-link px-0 hide-theme-dark" title="Enable dark mode" data-bs-toggle="tooltip"
- data-bs-placement="bottom">
- <!-- Download SVG icon from http://tabler-icons.io/i/moon -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" /></svg>
- </a>
- <a href="?theme=light" class="nav-link px-0 hide-theme-light" title="Enable light mode" data-bs-toggle="tooltip"
- data-bs-placement="bottom">
- <!-- Download SVG icon from http://tabler-icons.io/i/sun -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" /><path d="M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7" /></svg>
- </a>
- <div class="nav-item dropdown d-none d-md-flex me-3">
- <a href="#" class="nav-link px-0" data-bs-toggle="dropdown" tabindex="-1" aria-label="Show notifications">
- <!-- Download SVG icon from http://tabler-icons.io/i/bell -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" /><path d="M9 17v1a3 3 0 0 0 6 0v-1" /></svg>
- <span class="badge bg-red"></span>
- </a>
- <div class="dropdown-menu dropdown-menu-arrow dropdown-menu-end dropdown-menu-card">
- <div class="card">
- <div class="card-header">
- <h3 class="card-title">Last updates</h3>
- </div>
- <div class="list-group list-group-flush list-group-hoverable">
- <div class="list-group-item">
- <div class="row align-items-center">
- <div class="col-auto"><span class="status-dot status-dot-animated bg-red d-block"></span></div>
- <div class="col text-truncate">
- <a href="#" class="text-body d-block">Example 1</a>
- <div class="d-block text-muted text-truncate mt-n1">
- Change deprecated html tags to text decoration classes (#29604)
- </div>
- </div>
- <div class="col-auto">
- <a href="#" class="list-group-item-actions">
- <!-- Download SVG icon from http://tabler-icons.io/i/star -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon text-muted" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
- </a>
- </div>
- </div>
- </div>
- <div class="list-group-item">
- <div class="row align-items-center">
- <div class="col-auto"><span class="status-dot d-block"></span></div>
- <div class="col text-truncate">
- <a href="#" class="text-body d-block">Example 2</a>
- <div class="d-block text-muted text-truncate mt-n1">
- justify-content:between ⇒ justify-content:space-between (#29734)
- </div>
- </div>
- <div class="col-auto">
- <a href="#" class="list-group-item-actions show">
- <!-- Download SVG icon from http://tabler-icons.io/i/star -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon text-yellow" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
- </a>
- </div>
- </div>
- </div>
- <div class="list-group-item">
- <div class="row align-items-center">
- <div class="col-auto"><span class="status-dot d-block"></span></div>
- <div class="col text-truncate">
- <a href="#" class="text-body d-block">Example 3</a>
- <div class="d-block text-muted text-truncate mt-n1">
- Update change-version.js (#29736)
- </div>
- </div>
- <div class="col-auto">
- <a href="#" class="list-group-item-actions">
- <!-- Download SVG icon from http://tabler-icons.io/i/star -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon text-muted" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
- </a>
- </div>
- </div>
- </div>
- <div class="list-group-item">
- <div class="row align-items-center">
- <div class="col-auto"><span class="status-dot status-dot-animated bg-green d-block"></span></div>
- <div class="col text-truncate">
- <a href="#" class="text-body d-block">Example 4</a>
- <div class="d-block text-muted text-truncate mt-n1">
- Regenerate package-lock.json (#29730)
- </div>
- </div>
- <div class="col-auto">
- <a href="#" class="list-group-item-actions">
- <!-- Download SVG icon from http://tabler-icons.io/i/star -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon text-muted" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="nav-item dropdown">
- <a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown" aria-label="Open user menu">
- <span class="avatar avatar-sm" style="background-image: url(../static/avatars/000m.jpg)"></span>
- <div class="d-none d-xl-block ps-2">
- <div>Paweł Kuna</div>
- <div class="mt-1 small text-muted">UI Designer</div>
- </div>
- </a>
- <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
- <a href="#" class="dropdown-item">Status</a>
- <a href="../profile.html" class="dropdown-item">Profile</a>
- <a href="#" class="dropdown-item">Feedback</a>
- <div class="dropdown-divider"></div>
- <a href="../settings.html" class="dropdown-item">Settings</a>
- <a href="../sign-in.html" class="dropdown-item">Logout</a>
- </div>
- </div>
- </div>
- </div>
- </header>
- <header class="navbar-expand-md">
- <div class="collapse navbar-collapse" id="navbar-menu">
- <div class="navbar navbar-light">
- <div class="container-xl">
- <ul class="navbar-nav">
- <li class="nav-item">
- <a class="nav-link" href="../" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l-2 0l9 -9l9 9l-2 0" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>
- </span>
- <span class="nav-link-title">
- Home
- </span>
- </a>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#navbar-base" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/package -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5" /><path d="M12 12l8 -4.5" /><path d="M12 12l0 9" /><path d="M12 12l-8 -4.5" /><path d="M16 5.25l-8 4.5" /></svg>
- </span>
- <span class="nav-link-title">
- Interface
- </span>
- </a>
- <div class="dropdown-menu">
- <div class="dropdown-menu-columns">
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../empty.html">
- Empty page
- </a>
- <a class="dropdown-item" href="../accordion.html">
- Accordion
- </a>
- <a class="dropdown-item" href="../blank.html">
- Blank page
- </a>
- <a class="dropdown-item" href="../badges.html">
- Badges
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../buttons.html">
- Buttons
- </a>
- <div class="dropend">
- <a class="dropdown-item dropdown-toggle" href="#sidebar-cards" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- Cards
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <div class="dropdown-menu">
- <a href="../cards.html" class="dropdown-item">
- Sample cards
- </a>
- <a href="../card-actions.html" class="dropdown-item">
- Card actions
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a href="../cards-masonry.html" class="dropdown-item">
- Cards Masonry
- </a>
- </div>
- </div>
- <a class="dropdown-item" href="../colors.html">
- Colors
- </a>
- <a class="dropdown-item" href="../datagrid.html">
- Data grid
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../datatables.html">
- Datatables
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../dropdowns.html">
- Dropdowns
- </a>
- <a class="dropdown-item" href="../modals.html">
- Modals
- </a>
- <a class="dropdown-item" href="../maps.html">
- Maps
- </a>
- <a class="dropdown-item" href="../map-fullsize.html">
- Map fullsize
- </a>
- <a class="dropdown-item" href="../maps-vector.html">
- Vector maps
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../navigation.html">
- Navigation
- </a>
- <a class="dropdown-item" href="../charts.html">
- Charts
- </a>
- </div>
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../pagination.html">
- <!-- Download SVG icon from http://tabler-icons.io/i/pie-chart -->
- Pagination
- </a>
- <a class="dropdown-item" href="../placeholder.html">
- Placeholder
- </a>
- <a class="dropdown-item" href="../steps.html">
- Steps
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../tabs.html">
- Tabs
- </a>
- <a class="dropdown-item" href="../tables.html">
- Tables
- </a>
- <a class="dropdown-item" href="../carousel.html">
- Carousel
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../lists.html">
- Lists
- </a>
- <a class="dropdown-item" href="../typography.html">
- Typography
- </a>
- <a class="dropdown-item" href="../offcanvas.html">
- Offcanvas
- </a>
- <a class="dropdown-item" href="../markdown.html">
- Markdown
- </a>
- <a class="dropdown-item" href="../dropzone.html">
- Dropzone
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../lightbox.html">
- Lightbox
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../tinymce.html">
- TinyMCE
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../inline-player.html">
- Inline player
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <div class="dropend">
- <a class="dropdown-item dropdown-toggle" href="#sidebar-authentication" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- Authentication
- </a>
- <div class="dropdown-menu">
- <a href="../sign-in.html" class="dropdown-item">
- Sign in
- </a>
- <a href="../sign-in-link.html" class="dropdown-item">
- Sign in link
- </a>
- <a href="../sign-in-illustration.html" class="dropdown-item">
- Sign in with illustration
- </a>
- <a href="../sign-in-cover.html" class="dropdown-item">
- Sign in with cover
- </a>
- <a href="../sign-up.html" class="dropdown-item">
- Sign up
- </a>
- <a href="../forgot-password.html" class="dropdown-item">
- Forgot password
- </a>
- <a href="../terms-of-service.html" class="dropdown-item">
- Terms of service
- </a>
- <a href="../auth-lock.html" class="dropdown-item">
- Lock screen
- </a>
- </div>
- </div>
- <div class="dropend">
- <a class="dropdown-item dropdown-toggle" href="#sidebar-error" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- <!-- Download SVG icon from http://tabler-icons.io/i/file-minus -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-inline me-1" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /><path d="M9 14l6 0" /></svg>
- Error pages
- </a>
- <div class="dropdown-menu">
- <a href="../error-404.html" class="dropdown-item">
- 404 page
- </a>
- <a href="../error-500.html" class="dropdown-item">
- 500 page
- </a>
- <a href="../error-maintenance.html" class="dropdown-item">
- Maintenance page
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../form-elements.html" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/checkbox -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 11l3 3l8 -8" /><path d="M20 12v6a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h9" /></svg>
- </span>
- <span class="nav-link-title">
- Form elements
- </span>
- </a>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#navbar-extra" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/star -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
- </span>
- <span class="nav-link-title">
- Extra
- </span>
- </a>
- <div class="dropdown-menu">
- <div class="dropdown-menu-columns">
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../activity.html">
- Activity
- </a>
- <a class="dropdown-item" href="../gallery.html">
- Gallery
- </a>
- <a class="dropdown-item" href="../invoice.html">
- Invoice
- </a>
- <a class="dropdown-item" href="../search-results.html">
- Search results
- </a>
- <a class="dropdown-item" href="../pricing.html">
- Pricing cards
- </a>
- <a class="dropdown-item" href="../pricing-table.html">
- Pricing table
- </a>
- <a class="dropdown-item" href="../faq.html">
- FAQ
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../users.html">
- Users
- </a>
- <a class="dropdown-item" href="../license.html">
- License
- </a>
- <a class="dropdown-item" href="../logs.html">
- Logs
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- </div>
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../music.html">
- Music
- </a>
- <a class="dropdown-item" href="../photogrid.html">
- Photogrid
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../tasks.html">
- Tasks
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../uptime.html">
- Uptime monitor
- </a>
- <a class="dropdown-item" href="../widgets.html">
- Widgets
- </a>
- <a class="dropdown-item" href="../wizard.html">
- Wizard
- </a>
- <a class="dropdown-item" href="../settings.html">
- Settings
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../trial-ended.html">
- Trial ended
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../job-listing.html">
- Job listing
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../page-loader.html">
- Page loader
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- </div>
- </div>
- </div>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#navbar-layout" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/layout-2 -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" /><path d="M4 13m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" /><path d="M14 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" /><path d="M14 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" /></svg>
- </span>
- <span class="nav-link-title">
- Layout
- </span>
- </a>
- <div class="dropdown-menu">
- <div class="dropdown-menu-columns">
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../layout-horizontal.html">
- Horizontal
- </a>
- <a class="dropdown-item" href="../layout-boxed.html">
- Boxed
- <span class="badge badge-sm bg-green-lt text-uppercase ms-auto">New</span>
- </a>
- <a class="dropdown-item" href="../layout-vertical.html">
- Vertical
- </a>
- <a class="dropdown-item" href="../layout-vertical-transparent.html">
- Vertical transparent
- </a>
- <a class="dropdown-item" href="../layout-vertical-right.html">
- Right vertical
- </a>
- <a class="dropdown-item" href="../layout-condensed.html">
- Condensed
- </a>
- <a class="dropdown-item" href="../layout-combo.html">
- Combined
- </a>
- </div>
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../layout-navbar-dark.html">
- Navbar dark
- </a>
- <a class="dropdown-item" href="../layout-navbar-sticky.html">
- Navbar sticky
- </a>
- <a class="dropdown-item" href="../layout-navbar-overlap.html">
- Navbar overlap
- </a>
- <a class="dropdown-item" href="../layout-rtl.html">
- RTL mode
- </a>
- <a class="dropdown-item" href="../layout-fluid.html">
- Fluid
- </a>
- <a class="dropdown-item" href="../layout-fluid-vertical.html">
- Fluid vertical
- </a>
- </div>
- </div>
- </div>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../icons.html" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/ghost -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 11a7 7 0 0 1 14 0v7a1.78 1.78 0 0 1 -3.1 1.4a1.65 1.65 0 0 0 -2.6 0a1.65 1.65 0 0 1 -2.6 0a1.65 1.65 0 0 0 -2.6 0a1.78 1.78 0 0 1 -3.1 -1.4v-7" /><path d="M10 10l.01 0" /><path d="M14 10l.01 0" /><path d="M10 14a3.5 3.5 0 0 0 4 0" /></svg>
- </span>
- <span class="nav-link-title">
- 3222 icons
- </span>
- </a>
- </li>
- <li class="nav-item active dropdown">
- <a class="nav-link dropdown-toggle" href="#navbar-help" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/lifebuoy -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" /><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" /><path d="M15 15l3.35 3.35" /><path d="M9 15l-3.35 3.35" /><path d="M5.65 5.65l3.35 3.35" /><path d="M18.35 5.65l-3.35 3.35" /></svg>
- </span>
- <span class="nav-link-title">
- Help
- </span>
- </a>
- <div class="dropdown-menu">
- <a class="dropdown-item" href="../docs/">
- Documentation
- </a>
- <a class="dropdown-item" href="../changelog.html">
- Changelog
- </a>
- <a class="dropdown-item" href="https://github.com/tabler/tabler" target="_blank" rel="noopener">
- Source code
- </a>
- <a class="dropdown-item text-pink" href="https://github.com/sponsors/codecalm" target="_blank" rel="noopener">
- <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-inline me-1" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
- Sponsor project!
- </a>
- </div>
- </li>
- </ul>
- <div class="my-2 my-md-0 flex-grow-1 flex-md-grow-0 order-first order-md-last">
- <form action="../" method="get" autocomplete="off" novalidate>
- <div class="input-icon">
- <span class="input-icon-addon">
- <!-- Download SVG icon from http://tabler-icons.io/i/search -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" /><path d="M21 21l-6 -6" /></svg>
- </span>
- <input type="text" value="" class="form-control" placeholder="Search…" aria-label="Search in website">
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </header>
- <div class="page-wrapper">
- <!-- Page header -->
- <div class="page-header d-print-none">
- <div class="container-xl">
- <div class="row g-2 align-items-center">
- <div class="col">
- <h2 class="page-title">
- Documentation
- </h2>
- </div>
- </div>
- </div>
- </div>
- <!-- Page body -->
- <div class="page-body">
- <div class="container-xl">
- <div class="row gx-lg-5">
- <div class="d-none d-lg-block col-lg-3">
- <ul class="nav nav-pills nav-vertical">
- <li class="nav-item">
- <a href="../docs/" class="nav-link">
- Introduction
- </a>
- </li>
- <li class="nav-item">
- <a href="#menu-base" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Getting started
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-base">
- <li class="nav-item">
- <a href="../docs/getting-started.html" class="nav-link">
- Getting Started
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/download.html" class="nav-link">
- Download
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/browser-support.html" class="nav-link">
- Browser Support
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-content" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Content
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-content">
- <li class="nav-item">
- <a href="../docs/colors.html" class="nav-link">
- Colors
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/typography.html" class="nav-link">
- Typography
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/icons.html" class="nav-link">
- Icons
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/customize.html" class="nav-link">
- Customize Tabler
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-layout" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Layout
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-layout">
- <li class="nav-item">
- <a href="../docs/page-headers.html" class="nav-link">
- Page headers
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-forms" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Form components
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-forms">
- <li class="nav-item">
- <a href="../docs/form-elements.html" class="nav-link">
- Form elements
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-helpers.html" class="nav-link">
- Form helpers
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-validation.html" class="nav-link">
- Validation states
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-image-check.html" class="nav-link">
- Image check
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-color-check.html" class="nav-link">
- Color check
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-selectboxes.html" class="nav-link">
- Form selectboxes
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-fieldset.html" class="nav-link">
- Form fieldset
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-components" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Components
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-components">
- <li class="nav-item">
- <a href="../docs/alerts.html" class="nav-link">
- Alerts
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/avatars.html" class="nav-link">
- Avatars
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/badges.html" class="nav-link">
- Badges
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/breadcrumb.html" class="nav-link">
- Breadcrumb
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/buttons.html" class="nav-link">
- Buttons
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/cards.html" class="nav-link">
- Cards
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/carousel.html" class="nav-link">
- Carousel
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/datagrid.html" class="nav-link">
- Data grid
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/dropdowns.html" class="nav-link">
- Dropdowns
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/divider.html" class="nav-link">
- Divider
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/empty.html" class="nav-link">
- Empty states
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/modals.html" class="nav-link">
- Modals
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/page-headers.html" class="nav-link">
- Page headers
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/progress.html" class="nav-link">
- Progress
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/range-slider.html" class="nav-link">
- Range slider
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/ribbons.html" class="nav-link">
- Ribbons
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/placeholder.html" class="nav-link">
- Placeholder
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/spinners.html" class="nav-link">
- Spinners
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/statuses.html" class="nav-link">
- Statuses
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/steps.html" class="nav-link">
- Steps
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/switch-icon.html" class="nav-link">
- Switch icon
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/tables.html" class="nav-link">
- Tables
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/tabs.html" class="nav-link">
- Tabs
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/timelines.html" class="nav-link">
- Timelines
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/toasts.html" class="nav-link">
- Toasts
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/tracking.html" class="nav-link">
- Tracking
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/tooltips.html" class="nav-link">
- Tooltips
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/popover.html" class="nav-link">
- Popover
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-utils" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Utilities
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-utils">
- <li class="nav-item">
- <a href="../docs/borders.html" class="nav-link">
- Borders
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/cursors.html" class="nav-link">
- Cursors
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/interactions.html" class="nav-link">
- Interactions
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-plugins" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Plugins
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-plugins">
- <li class="nav-item">
- <a href="../docs/autosize.html" class="nav-link">
- Autosize
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/input-mask.html" class="nav-link">
- Form input mask
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/flags.html" class="nav-link">
- Flags
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/payments.html" class="nav-link">
- Payments
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/charts.html" class="nav-link">
- Charts
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/dropzone.html" class="nav-link">
- Dropzone
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/inline-player.html" class="nav-link">
- Inline player
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/tinymce.html" class="nav-link">
- TinyMCE
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="../changelog.html" class="nav-link">
- Changelog
- <span class="badge bg-primary-lt ms-auto">1.0.0-beta17</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="col-lg-9">
- <div class="card card-lg">
- <div class="card-body">
- <div class="markdown">
- <div>
- <div class="d-flex mb-3">
- <h1 class="m-0">Form elements</h1>
- <p class="ms-auto">
- <a href="https://getbootstrap.com/docs/5.0/components/forms/" target="_blank" class="d-flex align-items-center">
- <!-- Download SVG icon from http://tabler-icons.io/i/external-link -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon pe-1 text-primary" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" /><path d="M10 14l10 -10" /><path d="M15 4l5 0l0 5" /></svg>
- Bootstrap documentation
- </a>
- </p>
- </div>
- <p class="h3 fw-normal mb-4 text-muted">Forms are one of the most important types of interaction with a website or app. Since their aim is to enable users to make a purchase, subscribe to a service or sign up to create an account, it's important to make sure they are easy to complete and help increase conversion rates. Use the available elements to create forms which are well-structured and user-friendly.</p>
- </div>
- <h2 id="classic-inputs">Classic inputs</h2>
- <p>Use classic, user-friendly inputs, label them appropriately and include input placeholders that will help users avoid confusion when completing a form.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Text</label>
- <input type="text" class="form-control" name="example-text-input" placeholder="Input placeholder" />
- </div>
- <div class="mb-3">
- <label class="form-label">Password</label>
- <input type="text" class="form-control" name="example-password-input" placeholder="Input placeholder" />
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Text<span class="nt"></label></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">name=</span><span class="s">"example-text-input"</span> <span class="na">placeholder=</span><span class="s">"Input placeholder"</span><span class="nt">></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Password<span class="nt"></label></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">name=</span><span class="s">"example-password-input"</span> <span class="na">placeholder=</span><span class="s">"Input placeholder"</span><span class="nt">></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="form-control-rounded">Form control rounded</h2>
- <p>Use the <code class="language-plaintext highlighter-rouge">form-control-rounded</code> class if you prefer form controls with rounded corners.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Form control rounded</label>
- <input type="text" class="form-control form-control-rounded mb-2" name="Form control rounded" placeholder="Text.." />
- <div class="input-icon">
- <input type="text" value="" class="form-control form-control-rounded" placeholder="Search…" />
- <span class="input-icon-addon">
- <!-- Download SVG icon from http://tabler-icons.io/i/search -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" /><path d="M21 21l-6 -6" /></svg>
- </span>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Form control rounded<span class="nt"></label></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control form-control-rounded mb-2"</span> <span class="na">name=</span><span class="s">"Form control rounded"</span> <span class="na">placeholder=</span><span class="s">"Text.."</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-icon"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">value=</span><span class="s">""</span> <span class="na">class=</span><span class="s">"form-control form-control-rounded"</span> <span class="na">placeholder=</span><span class="s">"Search…"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-icon-addon"</span><span class="nt">></span>
- <span class="c"><!-- Download SVG icon from http://tabler-icons.io/i/search --></span>
- <span class="nt"><svg</span> <span class="na">xmlns=</span><span class="s">"http://www.w3.org/2000/svg"</span> <span class="na">class=</span><span class="s">"icon"</span> <span class="na">width=</span><span class="s">"24"</span> <span class="na">height=</span><span class="s">"24"</span> <span class="na">viewBox=</span><span class="s">"0 0 24 24"</span> <span class="na">stroke-width=</span><span class="s">"2"</span> <span class="na">stroke=</span><span class="s">"currentColor"</span> <span class="na">fill=</span><span class="s">"none"</span> <span class="na">stroke-linecap=</span><span class="s">"round"</span> <span class="na">stroke-linejoin=</span><span class="s">"round"</span><span class="nt">><path</span> <span class="na">stroke=</span><span class="s">"none"</span> <span class="na">d=</span><span class="s">"M0 0h24v24H0z"</span> <span class="na">fill=</span><span class="s">"none"</span><span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M21 21l-6 -6"</span> <span class="nt">/></svg></span>
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="form-control-flush">Form control flush</h2>
- <p>You can remove borders from your form control by adding the <code class="language-plaintext highlighter-rouge">form-control-flush</code> class.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Form control flush</label>
- <input type="text" class="form-control form-control-flush" name="Form control flush" placeholder="Text.." />
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Form control flush<span class="nt"></label></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control form-control-flush"</span> <span class="na">name=</span><span class="s">"Form control flush"</span> <span class="na">placeholder=</span><span class="s">"Text.."</span><span class="nt">></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="input-with-icon">Input with icon</h2>
- <p>Add icons to your input controls to suggest users what they should enter or inform them of the current state of a form element.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Icon input</label>
- <div class="input-icon mb-3">
- <input type="text" value="" class="form-control" placeholder="Search…" />
- <span class="input-icon-addon">
- <!-- Download SVG icon from http://tabler-icons.io/i/search -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" /><path d="M21 21l-6 -6" /></svg>
- </span>
- </div>
- <div class="input-icon mb-3">
- <span class="input-icon-addon">
- <!-- Download SVG icon from http://tabler-icons.io/i/user -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M12 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" /><path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" /></svg>
- </span>
- <input type="text" value="" class="form-control" placeholder="Username" />
- </div>
- </div>
- <div class="mb-3">
- <label class="form-label">Loader input</label>
- <div class="input-icon mb-3">
- <input type="text" value="" class="form-control" placeholder="Loading…" />
- <span class="input-icon-addon">
- <div class="spinner-border spinner-border-sm text-muted" role="status"></div>
- </span>
- </div>
- <div class="input-icon mb-3">
- <span class="input-icon-addon">
- <div class="spinner-border spinner-border-sm text-muted" role="status"></div>
- </span>
- <input type="text" value="" class="form-control" placeholder="Loading…" />
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Icon input<span class="nt"></label></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-icon mb-3"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">value=</span><span class="s">""</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">placeholder=</span><span class="s">"Search…"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-icon-addon"</span><span class="nt">></span>
- <span class="c"><!-- Download SVG icon from http://tabler-icons.io/i/search --></span>
- <span class="nt"><svg</span> <span class="na">xmlns=</span><span class="s">"http://www.w3.org/2000/svg"</span> <span class="na">class=</span><span class="s">"icon"</span> <span class="na">width=</span><span class="s">"24"</span> <span class="na">height=</span><span class="s">"24"</span> <span class="na">viewBox=</span><span class="s">"0 0 24 24"</span> <span class="na">stroke-width=</span><span class="s">"2"</span> <span class="na">stroke=</span><span class="s">"currentColor"</span> <span class="na">fill=</span><span class="s">"none"</span> <span class="na">stroke-linecap=</span><span class="s">"round"</span> <span class="na">stroke-linejoin=</span><span class="s">"round"</span><span class="nt">><path</span> <span class="na">stroke=</span><span class="s">"none"</span> <span class="na">d=</span><span class="s">"M0 0h24v24H0z"</span> <span class="na">fill=</span><span class="s">"none"</span><span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M21 21l-6 -6"</span> <span class="nt">/></svg></span>
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-icon mb-3"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-icon-addon"</span><span class="nt">></span>
- <span class="c"><!-- Download SVG icon from http://tabler-icons.io/i/user --></span>
- <span class="nt"><svg</span> <span class="na">xmlns=</span><span class="s">"http://www.w3.org/2000/svg"</span> <span class="na">class=</span><span class="s">"icon"</span> <span class="na">width=</span><span class="s">"24"</span> <span class="na">height=</span><span class="s">"24"</span> <span class="na">viewBox=</span><span class="s">"0 0 24 24"</span> <span class="na">stroke-width=</span><span class="s">"2"</span> <span class="na">stroke=</span><span class="s">"currentColor"</span> <span class="na">fill=</span><span class="s">"none"</span> <span class="na">stroke-linecap=</span><span class="s">"round"</span> <span class="na">stroke-linejoin=</span><span class="s">"round"</span><span class="nt">><path</span> <span class="na">stroke=</span><span class="s">"none"</span> <span class="na">d=</span><span class="s">"M0 0h24v24H0z"</span> <span class="na">fill=</span><span class="s">"none"</span><span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M12 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"</span> <span class="nt">/></svg></span>
- <span class="nt"></span></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">value=</span><span class="s">""</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">placeholder=</span><span class="s">"Username"</span><span class="nt">></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Loader input<span class="nt"></label></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-icon mb-3"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">value=</span><span class="s">""</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">placeholder=</span><span class="s">"Loading…"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-icon-addon"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"spinner-border spinner-border-sm text-muted"</span> <span class="na">role=</span><span class="s">"status"</span><span class="nt">></div></span>
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-icon mb-3"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-icon-addon"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"spinner-border spinner-border-sm text-muted"</span> <span class="na">role=</span><span class="s">"status"</span><span class="nt">></div></span>
- <span class="nt"></span></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">value=</span><span class="s">""</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">placeholder=</span><span class="s">"Loading…"</span><span class="nt">></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="separated-inputs">Separated inputs</h2>
- <p>Include an additional element in your input section, such as a button which can be used to submit the information enetered in the input control.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Separated inputs</label>
- <div class="row g-2">
- <div class="col">
- <input type="text" class="form-control" placeholder="Search for…" />
- </div>
- <div class="col-auto">
- <a href="javascript:void(0)" class="btn btn-icon" aria-label="Button">
- <!-- Download SVG icon from http://tabler-icons.io/i/search -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" /><path d="M21 21l-6 -6" /></svg>
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Separated inputs<span class="nt"></label></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"row g-2"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"col"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">placeholder=</span><span class="s">"Search for…"</span><span class="nt">></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"col-auto"</span><span class="nt">></span>
- <span class="nt"><a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">></span>
- <span class="c"><!-- Download SVG icon from http://tabler-icons.io/i/search --></span>
- <span class="nt"><svg</span> <span class="na">xmlns=</span><span class="s">"http://www.w3.org/2000/svg"</span> <span class="na">class=</span><span class="s">"icon"</span> <span class="na">width=</span><span class="s">"24"</span> <span class="na">height=</span><span class="s">"24"</span> <span class="na">viewBox=</span><span class="s">"0 0 24 24"</span> <span class="na">stroke-width=</span><span class="s">"2"</span> <span class="na">stroke=</span><span class="s">"currentColor"</span> <span class="na">fill=</span><span class="s">"none"</span> <span class="na">stroke-linecap=</span><span class="s">"round"</span> <span class="na">stroke-linejoin=</span><span class="s">"round"</span><span class="nt">><path</span> <span class="na">stroke=</span><span class="s">"none"</span> <span class="na">d=</span><span class="s">"M0 0h24v24H0z"</span> <span class="na">fill=</span><span class="s">"none"</span><span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M21 21l-6 -6"</span> <span class="nt">/></svg></span>
- <span class="nt"></a></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="textarea-and-select">Textarea and select</h2>
- <p>Use a multi-line text input control to enable users to enter longer pieces of text. The control will automatically adjust to the length of the text entered.</p>
- <p>Add one of the available selects - either a dropdown or a multiple choice select - to let users choose from a predefined set of options.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Textarea</label>
- <textarea class="form-control" name="example-textarea" placeholder="Textarea placeholder"></textarea>
- </div>
- <div class="mb-3">
- <div class="form-label">Select</div>
- <select class="form-select">
- <option value="1">One</option>
- <option value="2">Two</option>
- <option value="3">Three</option>
- </select>
- </div>
- <div class="mb-3">
- <div class="form-label">Select multiple</div>
- <select class="form-select" multiple="">
- <option value="1">One</option>
- <option value="2">Two</option>
- <option value="3">Three</option>
- </select>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Textarea<span class="nt"></label></span>
- <span class="nt"><textarea</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">name=</span><span class="s">"example-textarea"</span> <span class="na">placeholder=</span><span class="s">"Textarea placeholder"</span><span class="nt">></textarea></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Select<span class="nt"></div></span>
- <span class="nt"><select</span> <span class="na">class=</span><span class="s">"form-select"</span> <span class="nt">></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"1"</span><span class="nt">></span>One<span class="nt"></option></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"2"</span><span class="nt">></span>Two<span class="nt"></option></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"3"</span><span class="nt">></span>Three<span class="nt"></option></span>
- <span class="nt"></select></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Select multiple<span class="nt"></div></span>
- <span class="nt"><select</span> <span class="na">class=</span><span class="s">"form-select"</span> <span class="na">multiple</span><span class="nt">></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"1"</span><span class="nt">></span>One<span class="nt"></option></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"2"</span><span class="nt">></span>Two<span class="nt"></option></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"3"</span><span class="nt">></span>Three<span class="nt"></option></span>
- <span class="nt"></select></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="input-size">Input size</h2>
- <p>Choose the size of an input control that will go well with your form design. Apart from the default size, you can also use small and large input controls.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Input sizing</label>
- <input class="form-control form-control-lg mb-2" type="text" placeholder=".form-control-lg" />
- <input class="form-control mb-2" type="text" placeholder="Default input" />
- <input class="form-control form-control-sm" type="text" placeholder=".form-control-sm" />
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Input sizing<span class="nt"></label></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-control form-control-lg mb-2"</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">placeholder=</span><span class="s">".form-control-lg"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-control mb-2"</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">placeholder=</span><span class="s">"Default input"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-control form-control-sm"</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">placeholder=</span><span class="s">".form-control-sm"</span><span class="nt">></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="datalists">Datalists</h2>
- <p>Use the <code class="language-plaintext highlighter-rouge">datalist</code> element to add an autocomplete feature to your input control. The list of available options will display once a user starts to type and will make it quicker to complete form sections.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Datalist example</label>
- <input class="form-control" list="datalistOptions" placeholder="Type to search..." />
- <datalist id="datalistOptions">
- <option value="Aruba" />
- <option value="Afghanistan" />
- <option value="Angola" />
- <option value="Anguilla" />
- <option value="Albania" />
- <option value="Andorra" />
- <option value="United Arab Emirates" />
- <option value="Argentina" />
- <option value="Armenia" />
- <option value="American Samoa" />
- </datalist>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Datalist example<span class="nt"></label></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">list=</span><span class="s">"datalistOptions"</span> <span class="na">placeholder=</span><span class="s">"Type to search..."</span><span class="nt">/></span>
- <span class="nt"><datalist</span> <span class="na">id=</span><span class="s">"datalistOptions"</span><span class="nt">></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"Aruba"</span><span class="nt">/></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"Afghanistan"</span><span class="nt">/></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"Angola"</span><span class="nt">/></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"Anguilla"</span><span class="nt">/></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"Albania"</span><span class="nt">/></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"Andorra"</span><span class="nt">/></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"United Arab Emirates"</span><span class="nt">/></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"Argentina"</span><span class="nt">/></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"Armenia"</span><span class="nt">/></span>
- <span class="nt"><option</span> <span class="na">value=</span><span class="s">"American Samoa"</span><span class="nt">/></span>
- <span class="nt"></datalist></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="toggle-switches">Toggle switches</h2>
- <p>Use toggle switches for the elements of your form which require choosing between two opposing states.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <div class="form-label">Toggle switches</div>
- <label class="form-check form-switch">
- <input class="form-check-input" type="checkbox" checked="" />
- <span class="form-check-label">Option 1</span>
- </label>
- <label class="form-check form-switch">
- <input class="form-check-input" type="checkbox" />
- <span class="form-check-label">Option 2</span>
- </label>
- <label class="form-check form-switch">
- <input class="form-check-input" type="checkbox" />
- <span class="form-check-label">Option 3</span>
- </label>
- </div>
- <div class="mb-3">
- <div class="form-label">Single switch</div>
- <label class="form-check form-switch">
- <input class="form-check-input" type="checkbox" />
- <span class="form-check-label">I agree with terms and conditions</span>
- </label>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Toggle switches<span class="nt"></div></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-switch"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="na">checked</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 1<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-switch"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 2<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-switch"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 3<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Single switch<span class="nt"></div></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-switch"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>I agree with terms and conditions<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="radios">Radios</h2>
- <p>Use radio buttons for the parts of your form which require users to choose one option from a set of two or more mutually exclusive options.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <div class="form-label">Radios</div>
- <div>
- <label class="form-check">
- <input class="form-check-input" type="radio" name="radios" checked="" />
- <span class="form-check-label">Option 1</span>
- </label>
- <label class="form-check">
- <input class="form-check-input" type="radio" name="radios" />
- <span class="form-check-label">Option 2</span>
- </label>
- <label class="form-check">
- <input class="form-check-input" type="radio" disabled="" />
- <span class="form-check-label">Option 3</span>
- </label>
- <label class="form-check">
- <input class="form-check-input" type="radio" checked="" disabled="" />
- <span class="form-check-label">Option 4</span>
- </label>
- </div>
- </div>
- <div class="mb-3">
- <div class="form-label">Inline Radios</div>
- <div>
- <label class="form-check form-check-inline">
- <input class="form-check-input" type="radio" name="radios-inline" checked="" />
- <span class="form-check-label">Option 1</span>
- </label>
- <label class="form-check form-check-inline">
- <input class="form-check-input" type="radio" name="radios-inline" />
- <span class="form-check-label">Option 2</span>
- </label>
- <label class="form-check form-check-inline">
- <input class="form-check-input" type="radio" name="radios-inline" disabled="" />
- <span class="form-check-label">Option 3</span>
- </label>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Radios<span class="nt"></div></span>
- <span class="nt"><div></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"radio"</span>
- <span class="na">name=</span><span class="s">"radios"</span> <span class="na">checked</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 1<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"radio"</span>
- <span class="na">name=</span><span class="s">"radios"</span> <span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 2<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"radio"</span> <span class="na">disabled</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 3<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"radio"</span> <span class="na">checked</span> <span class="na">disabled</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 4<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Inline Radios<span class="nt"></div></span>
- <span class="nt"><div></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-check-inline"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"radio"</span>
- <span class="na">name=</span><span class="s">"radios-inline"</span> <span class="na">checked</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 1<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-check-inline"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"radio"</span>
- <span class="na">name=</span><span class="s">"radios-inline"</span> <span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 2<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-check-inline"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"radio"</span>
- <span class="na">name=</span><span class="s">"radios-inline"</span> <span class="na">disabled</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 3<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="checkboxes">Checkboxes</h2>
- <p>Use checkoxes if you want to allow users to select more than one option from a set of predefined options or to turn an option on or off.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <div class="form-label">Checkboxes</div>
- <div>
- <label class="form-check">
- <input class="form-check-input" type="checkbox" />
- <span class="form-check-label">Checkbox input</span>
- </label>
- <label class="form-check">
- <input class="form-check-input" type="checkbox" disabled="" />
- <span class="form-check-label">Disabled checkbox input</span>
- </label>
- <label class="form-check">
- <input class="form-check-input" type="checkbox" checked="" />
- <span class="form-check-label">Checked checkbox input</span>
- </label>
- </div>
- </div>
- <div class="mb-3">
- <div class="form-label">Inline Checkboxes</div>
- <div>
- <label class="form-check form-check-inline">
- <input class="form-check-input" type="checkbox" />
- <span class="form-check-label">Option 1</span>
- </label>
- <label class="form-check form-check-inline">
- <input class="form-check-input" type="checkbox" disabled="" />
- <span class="form-check-label">Option 2</span>
- </label>
- <label class="form-check form-check-inline">
- <input class="form-check-input" type="checkbox" checked="" />
- <span class="form-check-label">Option 3</span>
- </label>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Checkboxes<span class="nt"></div></span>
- <span class="nt"><div></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Checkbox input<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="na">disabled</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Disabled checkbox input<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="na">checked</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Checked checkbox input<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Inline Checkboxes<span class="nt"></div></span>
- <span class="nt"><div></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-check-inline"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 1<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-check-inline"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="na">disabled</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 2<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-check form-check-inline"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="na">checked</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"form-check-label"</span><span class="nt">></span>Option 3<span class="nt"></span></span>
- <span class="nt"></label></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span></code></pre>
- </figure>
- </div>
- <h2 id="range-input">Range input</h2>
- <p>Add a range slider to make it possible for users to set a value or range, such as a price range or a time frame.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Range input</label>
- <input type="range" class="form-range mb-2" value="40" min="0" max="100" step="10" />
- <div class="form-range mb-2" id="range-simple"></div>
- <div class="form-range mb-2" id="range-connect"></div>
- <div class="form-range mb-2 text-green" id="range-color"></div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Range input<span class="nt"></label></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"range"</span> <span class="na">class=</span><span class="s">"form-range mb-2"</span> <span class="na">value=</span><span class="s">"40"</span> <span class="na">min=</span><span class="s">"0"</span> <span class="na">max=</span><span class="s">"100"</span> <span class="na">step=</span><span class="s">"10"</span><span class="nt">></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-range mb-2"</span> <span class="na">id=</span><span class="s">"range-simple"</span><span class="nt">></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-range mb-2"</span> <span class="na">id=</span><span class="s">"range-connect"</span><span class="nt">></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"form-range mb-2 text-green"</span> <span class="na">id=</span><span class="s">"range-color"</span><span class="nt">></div></span>
- <span class="nt"></div></span>
- <span class="nt"><script></span>
- <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
- <span class="nb">window</span><span class="p">.</span><span class="nx">noUiSlider</span> <span class="o">&&</span> <span class="p">(</span><span class="nx">noUiSlider</span><span class="p">.</span><span class="nx">create</span><span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="dl">'</span><span class="s1">range-color</span><span class="dl">'</span><span class="p">),</span> <span class="p">{</span>
- <span class="na">start</span><span class="p">:</span> <span class="mi">40</span><span class="p">,</span>
- <span class="na">connect</span><span class="p">:</span> <span class="p">[</span><span class="kc">true</span><span class="p">,</span> <span class="kc">false</span><span class="p">],</span>
- <span class="na">step</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
- <span class="na">range</span><span class="p">:</span> <span class="p">{</span>
- <span class="na">min</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
- <span class="na">max</span><span class="p">:</span> <span class="mi">100</span>
- <span class="p">}</span>
- <span class="p">}));</span>
- <span class="p">});</span>
- <span class="nt"></script></span></code></pre>
- </figure>
- </div>
- <h2 id="input-group">Input group</h2>
- <p>Create a group of input controls and place add-ons on either side of an input.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Input group</label>
- <div class="input-group mb-2">
- <span class="input-group-text">
- @
- </span>
- <input type="text" class="form-control" placeholder="username" autocomplete="off" />
- </div>
- <div class="input-group mb-2">
- <input type="text" class="form-control" placeholder="subdomain" autocomplete="off" />
- <span class="input-group-text">
- .tabler.io
- </span>
- </div>
- <div class="input-group">
- <span class="input-group-text">
- https://
- </span>
- <input type="text" class="form-control" placeholder="subdomain" autocomplete="off" />
- <span class="input-group-text">
- .tabler.io
- </span>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Input group<span class="nt"></label></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group mb-2"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- @
- <span class="nt"></span></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">placeholder=</span><span class="s">"username"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group mb-2"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">placeholder=</span><span class="s">"subdomain"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- .tabler.io
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- https://
- <span class="nt"></span></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">placeholder=</span><span class="s">"subdomain"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- .tabler.io
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"><script></span>
- <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
- <span class="nb">window</span><span class="p">.</span><span class="nx">noUiSlider</span> <span class="o">&&</span> <span class="p">(</span><span class="nx">noUiSlider</span><span class="p">.</span><span class="nx">create</span><span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="dl">'</span><span class="s1">range-color</span><span class="dl">'</span><span class="p">),</span> <span class="p">{</span>
- <span class="na">start</span><span class="p">:</span> <span class="mi">40</span><span class="p">,</span>
- <span class="na">connect</span><span class="p">:</span> <span class="p">[</span><span class="kc">true</span><span class="p">,</span> <span class="kc">false</span><span class="p">],</span>
- <span class="na">step</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
- <span class="na">range</span><span class="p">:</span> <span class="p">{</span>
- <span class="na">min</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
- <span class="na">max</span><span class="p">:</span> <span class="mi">100</span>
- <span class="p">}</span>
- <span class="p">}));</span>
- <span class="p">});</span>
- <span class="nt"></script></span></code></pre>
- </figure>
- </div>
- <h2 id="input-with-checkboxes-or-radios">Input with checkboxes or radios</h2>
- <p>Add checkboxes or radio buttons on either side of your input control.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Input with checkbox or radios</label>
- <div class="input-group mb-2">
- <span class="input-group-text">
- <input class="form-check-input m-0" type="checkbox" checked="" />
- </span>
- <input type="text" class="form-control" autocomplete="off" />
- </div>
- <div class="input-group">
- <input type="text" class="form-control" autocomplete="off" />
- <span class="input-group-text">
- <input class="form-check-input m-0" type="radio" checked="" />
- </span>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Input with checkbox or radios<span class="nt"></label></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group mb-2"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input m-0"</span> <span class="na">type=</span><span class="s">"checkbox"</span> <span class="na">checked</span><span class="nt">></span>
- <span class="nt"></span></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">class=</span><span class="s">"form-check-input m-0"</span> <span class="na">type=</span><span class="s">"radio"</span> <span class="na">checked</span><span class="nt">></span>
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"><script></span>
- <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
- <span class="nb">window</span><span class="p">.</span><span class="nx">noUiSlider</span> <span class="o">&&</span> <span class="p">(</span><span class="nx">noUiSlider</span><span class="p">.</span><span class="nx">create</span><span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="dl">'</span><span class="s1">range-color</span><span class="dl">'</span><span class="p">),</span> <span class="p">{</span>
- <span class="na">start</span><span class="p">:</span> <span class="mi">40</span><span class="p">,</span>
- <span class="na">connect</span><span class="p">:</span> <span class="p">[</span><span class="kc">true</span><span class="p">,</span> <span class="kc">false</span><span class="p">],</span>
- <span class="na">step</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
- <span class="na">range</span><span class="p">:</span> <span class="p">{</span>
- <span class="na">min</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
- <span class="na">max</span><span class="p">:</span> <span class="mi">100</span>
- <span class="p">}</span>
- <span class="p">}));</span>
- <span class="p">});</span>
- <span class="nt"></script></span></code></pre>
- </figure>
- </div>
- <h2 id="input-with-prepended-or-appended-text">Input with prepended or appended text</h2>
- <p>Add text to your input control, either before or after the text which is to be entered by a user.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Input with prepended text</label>
- <div class="input-group input-group-flat mb-2">
- <span class="input-group-text">
- https://tabler.io/users/
- </span>
- <input type="text" class="form-control ps-0" value="yourfancyusername" autocomplete="off" />
- </div>
- <div class="input-group input-group-flat">
- <input type="text" class="form-control text-end pe-0" value="yourfancydomain" autocomplete="off" />
- <span class="input-group-text">
- .tabler.io
- </span>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Input with prepended text<span class="nt"></label></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group input-group-flat mb-2"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- https://tabler.io/users/
- <span class="nt"></span></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control ps-0"</span> <span class="na">value=</span><span class="s">"yourfancyusername"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"></div></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group input-group-flat"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control text-end pe-0"</span> <span class="na">value=</span><span class="s">"yourfancydomain"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- .tabler.io
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"><script></span>
- <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
- <span class="nb">window</span><span class="p">.</span><span class="nx">noUiSlider</span> <span class="o">&&</span> <span class="p">(</span><span class="nx">noUiSlider</span><span class="p">.</span><span class="nx">create</span><span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="dl">'</span><span class="s1">range-color</span><span class="dl">'</span><span class="p">),</span> <span class="p">{</span>
- <span class="na">start</span><span class="p">:</span> <span class="mi">40</span><span class="p">,</span>
- <span class="na">connect</span><span class="p">:</span> <span class="p">[</span><span class="kc">true</span><span class="p">,</span> <span class="kc">false</span><span class="p">],</span>
- <span class="na">step</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
- <span class="na">range</span><span class="p">:</span> <span class="p">{</span>
- <span class="na">min</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
- <span class="na">max</span><span class="p">:</span> <span class="mi">100</span>
- <span class="p">}</span>
- <span class="p">}));</span>
- <span class="p">});</span>
- <span class="nt"></script></span></code></pre>
- </figure>
- </div>
- <h2 id="input-with-appended-link">Input with appended link</h2>
- <p>Include a link in your input control to add a clickable element within the control.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Input with appended link</label>
- <div class="input-group input-group-flat">
- <input type="password" class="form-control" value="ultrastrongpassword" autocomplete="off" />
- <span class="input-group-text">
- <a href="javascript:void(0)" class="input-group-link">Show password</a>
- </span>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Input with appended link<span class="nt"></label></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group input-group-flat"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"password"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">value=</span><span class="s">"ultrastrongpassword"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- <span class="nt"><a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"input-group-link"</span><span class="nt">></span>Show password<span class="nt"></a></span>
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"><script></span>
- <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
- <span class="nb">window</span><span class="p">.</span><span class="nx">noUiSlider</span> <span class="o">&&</span> <span class="p">(</span><span class="nx">noUiSlider</span><span class="p">.</span><span class="nx">create</span><span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="dl">'</span><span class="s1">range-color</span><span class="dl">'</span><span class="p">),</span> <span class="p">{</span>
- <span class="na">start</span><span class="p">:</span> <span class="mi">40</span><span class="p">,</span>
- <span class="na">connect</span><span class="p">:</span> <span class="p">[</span><span class="kc">true</span><span class="p">,</span> <span class="kc">false</span><span class="p">],</span>
- <span class="na">step</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
- <span class="na">range</span><span class="p">:</span> <span class="p">{</span>
- <span class="na">min</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
- <span class="na">max</span><span class="p">:</span> <span class="mi">100</span>
- <span class="p">}</span>
- <span class="p">}));</span>
- <span class="p">});</span>
- <span class="nt"></script></span></code></pre>
- </figure>
- </div>
- <h2 id="input-with-appended-kbd">Input with appended <code class="language-plaintext highlighter-rouge"><kbd></code></h2>
- <p>Include a <code class="language-plaintext highlighter-rouge"><kbd></code> in your input control to add shortcut to the control.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Input with appended link</label>
- <div class="input-group input-group-flat">
- <input type="password" class="form-control" value="ultrastrongpassword" autocomplete="off" />
- <span class="input-group-text">
- <kbd>ctrl + K</kbd>
- </span>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Input with appended link<span class="nt"></label></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group input-group-flat"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"password"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">value=</span><span class="s">"ultrastrongpassword"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- <span class="nt"><kbd></span>ctrl + K<span class="nt"></kbd></span>
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"><script></span>
- <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
- <span class="nb">window</span><span class="p">.</span><span class="nx">noUiSlider</span> <span class="o">&&</span> <span class="p">(</span><span class="nx">noUiSlider</span><span class="p">.</span><span class="nx">create</span><span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="dl">'</span><span class="s1">range-color</span><span class="dl">'</span><span class="p">),</span> <span class="p">{</span>
- <span class="na">start</span><span class="p">:</span> <span class="mi">40</span><span class="p">,</span>
- <span class="na">connect</span><span class="p">:</span> <span class="p">[</span><span class="kc">true</span><span class="p">,</span> <span class="kc">false</span><span class="p">],</span>
- <span class="na">step</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
- <span class="na">range</span><span class="p">:</span> <span class="p">{</span>
- <span class="na">min</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
- <span class="na">max</span><span class="p">:</span> <span class="mi">100</span>
- <span class="p">}</span>
- <span class="p">}));</span>
- <span class="p">});</span>
- <span class="nt"></script></span></code></pre>
- </figure>
- </div>
- <h2 id="input-with-appended-icon-links">Input with appended icon links</h2>
- <p>Add an icon link which you want to display at the end of your input control to visually represent actions which a user can take.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div class="mb-3">
- <label class="form-label">Input with appended icon links</label>
- <div class="input-group input-group-flat">
- <input type="text" class="form-control" autocomplete="off" />
- <span class="input-group-text">
- <a href="javascript:void(0)" class="link-secondary" title="Clear search" data-bs-toggle="tooltip"><!-- Download SVG icon from http://tabler-icons.io/i/x -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>
- </a>
- <a href="javascript:void(0)" class="link-secondary ms-2" title="Search settings" data-bs-toggle="tooltip"><!-- Download SVG icon from http://tabler-icons.io/i/adjustments -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M6 10m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M6 4l0 4" /><path d="M6 12l0 8" /><path d="M12 16m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M12 4l0 10" /><path d="M12 18l0 2" /><path d="M18 7m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M18 4l0 1" /><path d="M18 9l0 11" /></svg>
- </a>
- <a href="javascript:void(0)" class="link-secondary ms-2 disabled" title="Add notification" data-bs-toggle="tooltip"><!-- Download SVG icon from http://tabler-icons.io/i/bell -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" /><path d="M9 17v1a3 3 0 0 0 6 0v-1" /></svg>
- </a>
- </span>
- </div>
- </div>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"mb-3"</span><span class="nt">></span>
- <span class="nt"><label</span> <span class="na">class=</span><span class="s">"form-label"</span><span class="nt">></span>Input with appended icon links<span class="nt"></label></span>
- <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-group input-group-flat"</span><span class="nt">></span>
- <span class="nt"><input</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">class=</span><span class="s">"form-control"</span> <span class="na">autocomplete=</span><span class="s">"off"</span><span class="nt">></span>
- <span class="nt"><span</span> <span class="na">class=</span><span class="s">"input-group-text"</span><span class="nt">></span>
- <span class="nt"><a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"link-secondary"</span> <span class="na">title=</span><span class="s">"Clear search"</span> <span class="na">data-bs-toggle=</span><span class="s">"tooltip"</span><span class="nt">></span><span class="c"><!-- Download SVG icon from http://tabler-icons.io/i/x --></span>
- <span class="nt"><svg</span> <span class="na">xmlns=</span><span class="s">"http://www.w3.org/2000/svg"</span> <span class="na">class=</span><span class="s">"icon"</span> <span class="na">width=</span><span class="s">"24"</span> <span class="na">height=</span><span class="s">"24"</span> <span class="na">viewBox=</span><span class="s">"0 0 24 24"</span> <span class="na">stroke-width=</span><span class="s">"2"</span> <span class="na">stroke=</span><span class="s">"currentColor"</span> <span class="na">fill=</span><span class="s">"none"</span> <span class="na">stroke-linecap=</span><span class="s">"round"</span> <span class="na">stroke-linejoin=</span><span class="s">"round"</span><span class="nt">><path</span> <span class="na">stroke=</span><span class="s">"none"</span> <span class="na">d=</span><span class="s">"M0 0h24v24H0z"</span> <span class="na">fill=</span><span class="s">"none"</span><span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M18 6l-12 12"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M6 6l12 12"</span> <span class="nt">/></svg></span>
- <span class="nt"></a></span>
- <span class="nt"><a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"link-secondary ms-2"</span> <span class="na">title=</span><span class="s">"Search settings"</span> <span class="na">data-bs-toggle=</span><span class="s">"tooltip"</span><span class="nt">></span><span class="c"><!-- Download SVG icon from http://tabler-icons.io/i/adjustments --></span>
- <span class="nt"><svg</span> <span class="na">xmlns=</span><span class="s">"http://www.w3.org/2000/svg"</span> <span class="na">class=</span><span class="s">"icon"</span> <span class="na">width=</span><span class="s">"24"</span> <span class="na">height=</span><span class="s">"24"</span> <span class="na">viewBox=</span><span class="s">"0 0 24 24"</span> <span class="na">stroke-width=</span><span class="s">"2"</span> <span class="na">stroke=</span><span class="s">"currentColor"</span> <span class="na">fill=</span><span class="s">"none"</span> <span class="na">stroke-linecap=</span><span class="s">"round"</span> <span class="na">stroke-linejoin=</span><span class="s">"round"</span><span class="nt">><path</span> <span class="na">stroke=</span><span class="s">"none"</span> <span class="na">d=</span><span class="s">"M0 0h24v24H0z"</span> <span class="na">fill=</span><span class="s">"none"</span><span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M6 10m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M6 4l0 4"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M6 12l0 8"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M12 16m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M12 4l0 10"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M12 18l0 2"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M18 7m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M18 4l0 1"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M18 9l0 11"</span> <span class="nt">/></svg></span>
- <span class="nt"></a></span>
- <span class="nt"><a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"link-secondary ms-2 disabled"</span> <span class="na">title=</span><span class="s">"Add notification"</span> <span class="na">data-bs-toggle=</span><span class="s">"tooltip"</span><span class="nt">></span><span class="c"><!-- Download SVG icon from http://tabler-icons.io/i/bell --></span>
- <span class="nt"><svg</span> <span class="na">xmlns=</span><span class="s">"http://www.w3.org/2000/svg"</span> <span class="na">class=</span><span class="s">"icon"</span> <span class="na">width=</span><span class="s">"24"</span> <span class="na">height=</span><span class="s">"24"</span> <span class="na">viewBox=</span><span class="s">"0 0 24 24"</span> <span class="na">stroke-width=</span><span class="s">"2"</span> <span class="na">stroke=</span><span class="s">"currentColor"</span> <span class="na">fill=</span><span class="s">"none"</span> <span class="na">stroke-linecap=</span><span class="s">"round"</span> <span class="na">stroke-linejoin=</span><span class="s">"round"</span><span class="nt">><path</span> <span class="na">stroke=</span><span class="s">"none"</span> <span class="na">d=</span><span class="s">"M0 0h24v24H0z"</span> <span class="na">fill=</span><span class="s">"none"</span><span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6"</span> <span class="nt">/><path</span> <span class="na">d=</span><span class="s">"M9 17v1a3 3 0 0 0 6 0v-1"</span> <span class="nt">/></svg></span>
- <span class="nt"></a></span>
- <span class="nt"></span></span>
- <span class="nt"></div></span>
- <span class="nt"></div></span>
- <span class="nt"><script></span>
- <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
- <span class="nb">window</span><span class="p">.</span><span class="nx">noUiSlider</span> <span class="o">&&</span> <span class="p">(</span><span class="nx">noUiSlider</span><span class="p">.</span><span class="nx">create</span><span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="dl">'</span><span class="s1">range-color</span><span class="dl">'</span><span class="p">),</span> <span class="p">{</span>
- <span class="na">start</span><span class="p">:</span> <span class="mi">40</span><span class="p">,</span>
- <span class="na">connect</span><span class="p">:</span> <span class="p">[</span><span class="kc">true</span><span class="p">,</span> <span class="kc">false</span><span class="p">],</span>
- <span class="na">step</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
- <span class="na">range</span><span class="p">:</span> <span class="p">{</span>
- <span class="na">min</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
- <span class="na">max</span><span class="p">:</span> <span class="mi">100</span>
- <span class="p">}</span>
- <span class="p">}));</span>
- <span class="p">});</span>
- <span class="nt"></script></span></code></pre>
- </figure>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <footer class="footer footer-transparent d-print-none">
- <div class="container-xl">
- <div class="row text-center align-items-center flex-row-reverse">
- <div class="col-lg-auto ms-lg-auto">
- <ul class="list-inline list-inline-dots mb-0">
- <li class="list-inline-item"><a href="../docs/" class="link-secondary">Documentation</a></li>
- <li class="list-inline-item"><a href="../license.html" class="link-secondary">License</a></li>
- <li class="list-inline-item"><a href="https://github.com/tabler/tabler" target="_blank" class="link-secondary" rel="noopener">Source code</a></li>
- <li class="list-inline-item">
- <a href="https://github.com/sponsors/codecalm" target="_blank" class="link-secondary" rel="noopener">
- <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon text-pink icon-filled icon-inline" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
- Sponsor
- </a>
- </li>
- </ul>
- </div>
- <div class="col-12 col-lg-auto mt-3 mt-lg-0">
- <ul class="list-inline list-inline-dots mb-0">
- <li class="list-inline-item">
- Copyright © 2023
- <a href=".." class="link-secondary">Tabler</a>.
- All rights reserved.
- </li>
- <li class="list-inline-item">
- <a href="../changelog.html" class="link-secondary" rel="noopener">
- v1.0.0-beta17
- </a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </footer>
- </div>
- </div>
- <!-- Libs JS -->
- <script src="../dist/libs/nouislider/dist/nouislider.min.js?1674944402" defer></script>
- <!-- Tabler Core -->
- <script src="../dist/js/tabler.min.js?1674944402" defer></script>
- <script src="../dist/js/demo.min.js?1674944402" defer></script>
- <script>
- // @formatter:off
- document.addEventListener("DOMContentLoaded", function () {
- window.noUiSlider && (noUiSlider.create(document.getElementById('range-simple'), {
- start: 20,
- connect: [true, false],
- step: 10,
- range: {
- min: 0,
- max: 100
- }
- }));
- });
- // @formatter:on
- </script>
- <script>
- // @formatter:off
- document.addEventListener("DOMContentLoaded", function () {
- window.noUiSlider && (noUiSlider.create(document.getElementById('range-connect'), {
- start: [60, 90],
- connect: [false, true, false],
- step: 10,
- range: {
- min: 0,
- max: 100
- }
- }));
- });
- // @formatter:on
- </script>
- <script>
- // @formatter:off
- document.addEventListener("DOMContentLoaded", function () {
- window.noUiSlider && (noUiSlider.create(document.getElementById('range-color'), {
- start: 40,
- connect: [true, false],
- step: 10,
- range: {
- min: 0,
- max: 100
- }
- }));
- });
- // @formatter:on
- </script>
- <script>
- document.addEventListener("DOMContentLoaded", function() {
- let sliderTriggerList = [].slice.call(document.querySelectorAll("[data-slider]"));
- sliderTriggerList.map(function (sliderTriggerEl) {
- let options = {};
- if (sliderTriggerEl.getAttribute("data-slider")) {
- options = JSON.parse(sliderTriggerEl.getAttribute("data-slider"));
- }
- let slider = noUiSlider.create(sliderTriggerEl, options);
- if (options['js-name']) {
- window[options['js-name']] = slider;
- }
- });
- });
- </script>
- </body>
- </html>
|